Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.218/2.218, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001112/0.001112, allocations: 180.8 kB / 487.4 MB, free: 5.066 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.382/1.382, allocations: 221.5 MB / 0.7824 GB, free: 1.035 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.0009659/0.000966, allocations: 102.1 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.167e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2332, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9062/1.14, allocations: 374.9 MB / 1.572 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.14, allocations: 91.16 kB / 1.572 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02935/1.169, allocations: 11.73 MB / 1.584 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.443e-06/1.169, allocations: 0 / 1.584 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.169, allocations: 4 kB / 1.584 GB, free: 5.098 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009962/1.17, allocations: 0.6123 MB / 1.584 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.17, allocations: 12.03 kB / 1.584 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007163/1.171, allocations: 136.9 kB / 1.584 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/1.172, allocations: 337.1 kB / 1.585 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.172, allocations: 4 kB / 1.585 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/1.172, allocations: 4 kB / 1.585 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000259/1.172, allocations: 136 kB / 1.585 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/1.172, allocations: 141.2 kB / 1.585 GB, free: 3.754 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.172, allocations: 0 / 1.585 GB, free: 3.754 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/1.172, allocations: 3.953 kB / 1.585 GB, free: 3.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.172, allocations: 4 kB / 1.585 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1.174, allocations: 0.5636 MB / 1.586 GB, free: 3.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/1.174, allocations: 97.94 kB / 1.586 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.174, allocations: 81.83 kB / 1.586 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/1.175, allocations: 0.514 MB / 1.586 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.175, allocations: 30.56 kB / 1.586 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/1.175, allocations: 3.984 kB / 1.586 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.04957/1.224, allocations: 3.792 MB / 1.59 GB, free: 14.79 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/1.224, allocations: 51.41 kB / 1.59 GB, free: 14.72 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/1.224, allocations: 213.8 kB / 1.59 GB, free: 14.54 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/1.224, allocations: 25.7 kB / 1.59 GB, free: 14.51 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/1.225, allocations: 152.6 kB / 1.59 GB, free: 14.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/1.225, allocations: 42.67 kB / 1.59 GB, free: 14.36 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/1.225, allocations: 4 kB / 1.59 GB, free: 14.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.225, allocations: 337.3 kB / 1.591 GB, free: 14.03 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/1.225, allocations: 72.42 kB / 1.591 GB, free: 13.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.225, allocations: 74.05 kB / 1.591 GB, free: 13.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1461/1.371, allocations: 10.77 MB / 1.601 GB, free: 3.449 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.371, allocations: 0 / 1.601 GB, free: 3.449 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.1443/1.515, allocations: 10.9 MB / 1.612 GB, free: 8.836 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.516, allocations: 10.03 kB / 1.612 GB, free: 8.828 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.516, allocations: 4 kB / 1.612 GB, free: 8.824 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.516, allocations: 0 / 1.612 GB, free: 8.824 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/1.516, allocations: 87.78 kB / 1.612 GB, free: 8.738 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.516, allocations: 4 kB / 1.612 GB, free: 8.734 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/1.516, allocations: 55.8 kB / 1.612 GB, free: 8.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/1.516, allocations: 7.984 kB / 1.612 GB, free: 8.672 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.806e-05/1.517, allocations: 112.9 kB / 1.612 GB, free: 8.555 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04814/1.565, allocations: 3.786 MB / 1.616 GB, free: 4.898 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/1.565, allocations: 23.72 kB / 1.616 GB, free: 4.875 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04896/1.614, allocations: 3.809 MB / 1.62 GB, free: 1.207 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.614, allocations: 0 / 1.62 GB, free: 1.207 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.614, allocations: 8 kB / 1.62 GB, free: 1.199 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.614, allocations: 0 / 1.62 GB, free: 1.199 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/1.614, allocations: 278.3 kB / 1.62 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.614, allocations: 4 kB / 1.62 GB, free: 0.9297 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/1.615, allocations: 71.86 kB / 1.62 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.615, allocations: 4 kB / 1.62 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/1.615, allocations: 11.48 kB / 1.62 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.615, allocations: 0 / 1.62 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.615, allocations: 0 / 1.62 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04866/1.663, allocations: 3.882 MB / 1.624 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/1.664, allocations: 122.3 kB / 1.624 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/1.664, allocations: 0 / 1.624 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/1.664, allocations: 51.94 kB / 1.624 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/1.664, allocations: 18.97 kB / 1.624 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/1.664, allocations: 4 kB / 1.624 GB, free: 12.89 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000164/1.664, allocations: 174.7 kB / 1.624 GB, free: 12.75 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.664, allocations: 0 / 1.624 GB, free: 12.75 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004428/1.665, allocations: 75.09 kB / 1.624 GB, free: 12.68 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04954/1.714, allocations: 4.504 MB / 1.629 GB, free: 8.289 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.715, allocations: 177.7 kB / 1.629 GB, free: 8.184 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.715, allocations: 4 kB / 1.629 GB, free: 8.18 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/1.715, allocations: 93.66 kB / 1.629 GB, free: 8.121 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/1.715, allocations: 36 kB / 1.629 GB, free: 8.094 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/1.716, allocations: 357 kB / 1.629 GB, free: 7.746 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.717, allocations: 0.7547 MB / 1.63 GB, free: 6.969 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002869/1.717, allocations: 41.17 kB / 1.63 GB, free: 6.93 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/1.717, allocations: 74.91 kB / 1.63 GB, free: 6.902 MB / 1.042 GB Notification: Performance of SimCode: time 2.4e-07/1.717, allocations: 3.938 kB / 1.63 GB, free: 6.898 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/1.74, allocations: 5.149 MB / 1.635 GB, free: 1.789 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.74, allocations: 157.7 kB / 1.635 GB, free: 1.598 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/3.592, allocations: 3.938 kB / 1.635 GB, free: 1.594 MB / 1.042 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat