Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 180.7 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 91.91 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.924e-05, allocations: 5.562 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2903, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.064, allocations: 1.731 GB / 2.937 GB, free: 163.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/5.064, allocations: 98.47 kB / 2.937 GB, free: 163.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1251/5.189, allocations: 59.3 MB / 2.995 GB, free: 104.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.412e-06/5.189, allocations: 0 / 2.995 GB, free: 104.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.997e-05/5.189, allocations: 24 kB / 2.995 GB, free: 104.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001999/5.191, allocations: 1.094 MB / 2.996 GB, free: 103.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/5.192, allocations: 12.56 kB / 2.996 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/5.192, allocations: 186.5 kB / 2.996 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/5.193, allocations: 0.6192 MB / 2.997 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/5.193, allocations: 31.94 kB / 2.997 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/5.193, allocations: 48 kB / 2.997 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/5.195, allocations: 1.007 MB / 2.998 GB, free: 101.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/5.196, allocations: 0.7428 MB / 2.999 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/5.196, allocations: 0 / 2.999 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/5.196, allocations: 7.953 kB / 2.999 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/5.196, allocations: 20 kB / 2.999 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/5.199, allocations: 2.411 MB / 3.001 GB, free: 97.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/5.201, allocations: 0.7974 MB / 3.002 GB, free: 97.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/5.201, allocations: 251.1 kB / 3.002 GB, free: 96.83 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/5.201, allocations: 28.81 kB / 3.002 GB, free: 96.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/5.202, allocations: 403.8 kB / 3.002 GB, free: 96.39 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.414e-06/5.202, allocations: 0 / 3.002 GB, free: 96.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001488/5.203, allocations: 0.6796 MB / 3.003 GB, free: 95.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/5.203, allocations: 248.1 kB / 3.003 GB, free: 95.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/5.204, allocations: 0.4945 MB / 3.004 GB, free: 94.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/5.204, allocations: 29.7 kB / 3.004 GB, free: 94.87 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/5.204, allocations: 384.2 kB / 3.004 GB, free: 94.48 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/5.204, allocations: 240.3 kB / 3.004 GB, free: 94.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/5.204, allocations: 3.938 kB / 3.004 GB, free: 94.24 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/5.204, allocations: 374.8 kB / 3.005 GB, free: 93.87 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/5.204, allocations: 197.5 kB / 3.005 GB, free: 93.67 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/5.205, allocations: 303.5 kB / 3.005 GB, free: 93.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/5.205, allocations: 248.5 kB / 3.005 GB, free: 93.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/5.205, allocations: 0 / 3.005 GB, free: 93.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001273/5.206, allocations: 0.6798 MB / 3.006 GB, free: 92.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/5.207, allocations: 4 kB / 3.006 GB, free: 92.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/5.207, allocations: 0 / 3.006 GB, free: 92.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/5.207, allocations: 88.78 kB / 3.006 GB, free: 92.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/5.208, allocations: 155.7 kB / 3.006 GB, free: 92.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/5.209, allocations: 1.442 MB / 3.008 GB, free: 90.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/5.21, allocations: 75.52 kB / 3.008 GB, free: 90.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/5.21, allocations: 23.98 kB / 3.008 GB, free: 90.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/5.21, allocations: 130 kB / 3.008 GB, free: 90.37 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001295/5.211, allocations: 0.6836 MB / 3.009 GB, free: 89.67 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/5.211, allocations: 71.16 kB / 3.009 GB, free: 89.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/5.213, allocations: 0.9735 MB / 3.01 GB, free: 88.61 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/5.213, allocations: 8 kB / 3.01 GB, free: 88.61 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/5.213, allocations: 0 / 3.01 GB, free: 88.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/5.213, allocations: 3.984 kB / 3.01 GB, free: 88.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/5.216, allocations: 1.754 MB / 3.011 GB, free: 86.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/5.216, allocations: 0 / 3.011 GB, free: 86.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/5.216, allocations: 155.8 kB / 3.011 GB, free: 86.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/5.217, allocations: 80.78 kB / 3.012 GB, free: 86.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/5.217, allocations: 19.98 kB / 3.012 GB, free: 86.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/5.218, allocations: 1.492 MB / 3.013 GB, free: 84.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/5.218, allocations: 0 / 3.013 GB, free: 84.93 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/5.22, allocations: 0.865 MB / 3.014 GB, free: 84.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/5.22, allocations: 287.9 kB / 3.014 GB, free: 83.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/5.22, allocations: 7.938 kB / 3.014 GB, free: 83.74 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/5.221, allocations: 55.94 kB / 3.014 GB, free: 83.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/5.221, allocations: 64.69 kB / 3.014 GB, free: 83.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/5.221, allocations: 27.98 kB / 3.014 GB, free: 83.59 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004415/5.222, allocations: 406.9 kB / 3.015 GB, free: 83.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.222, allocations: 3.938 kB / 3.015 GB, free: 83.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001106/5.223, allocations: 354.9 kB / 3.015 GB, free: 82.85 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003277/5.226, allocations: 2.398 MB / 3.017 GB, free: 80.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001131/5.227, allocations: 0.679 MB / 3.018 GB, free: 79.85 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/5.227, allocations: 4 kB / 3.018 GB, free: 79.85 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/5.228, allocations: 468.4 kB / 3.019 GB, free: 79.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/5.229, allocations: 218.6 kB / 3.019 GB, free: 79.17 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/5.232, allocations: 1.521 MB / 3.02 GB, free: 77.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/5.233, allocations: 1.031 MB / 3.021 GB, free: 76.55 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007527/5.233, allocations: 257.9 kB / 3.021 GB, free: 76.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/5.234, allocations: 363.3 kB / 3.022 GB, free: 75.94 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/5.234, allocations: 0 / 3.022 GB, free: 75.94 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05338/5.287, allocations: 23.63 MB / 3.045 GB, free: 52.45 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/5.288, allocations: 209.5 kB / 3.045 GB, free: 52.16 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/8.456, allocations: 0 / 3.045 GB, free: 52.16 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat