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.093/2.093, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009428/0.0009428, allocations: 184.1 kB / 492.3 MB, free: 0.6055 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.34/1.34, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008551, allocations: 91.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.522e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9341/1.15, allocations: 375.6 MB / 1.579 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.15, allocations: 91.86 kB / 1.579 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03041/1.181, allocations: 11.81 MB / 1.591 GB, free: 12.13 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.142e-06/1.181, allocations: 0 / 1.591 GB, free: 12.13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.822e-05/1.181, allocations: 4 kB / 1.591 GB, free: 12.13 MB / 1.01 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.001145/1.182, allocations: 0.6114 MB / 1.591 GB, free: 11.48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.182, allocations: 12.03 kB / 1.591 GB, free: 11.47 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/1.182, allocations: 46.38 kB / 1.592 GB, free: 11.43 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/1.183, allocations: 132.8 kB / 1.592 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/1.184, allocations: 335.4 kB / 1.592 GB, free: 10.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/1.184, allocations: 8.188 kB / 1.592 GB, free: 10.94 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/1.184, allocations: 7.812 kB / 1.592 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.184, allocations: 158.1 kB / 1.592 GB, free: 10.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.184, allocations: 0 / 1.592 GB, free: 10.82 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/1.184, allocations: 3.562 kB / 1.592 GB, free: 10.82 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/1.184, allocations: 7.953 kB / 1.592 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/1.184, allocations: 142.2 kB / 1.592 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/1.186, allocations: 0.596 MB / 1.593 GB, free: 10.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.186, allocations: 99.5 kB / 1.593 GB, free: 10.09 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/1.186, allocations: 91.22 kB / 1.593 GB, free: 10.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/1.187, allocations: 0.5196 MB / 1.594 GB, free: 9.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/1.187, allocations: 30.56 kB / 1.594 GB, free: 9.371 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/1.187, allocations: 0 / 1.594 GB, free: 9.371 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0004353/1.187, allocations: 213.2 kB / 1.594 GB, free: 9.215 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.187, allocations: 55.41 kB / 1.594 GB, free: 9.148 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/1.187, allocations: 226.7 kB / 1.594 GB, free: 8.953 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.187, allocations: 28.89 kB / 1.594 GB, free: 8.922 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/1.187, allocations: 151.5 kB / 1.594 GB, free: 8.812 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/1.187, allocations: 38.67 kB / 1.594 GB, free: 8.777 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/1.187, allocations: 3.312 kB / 1.594 GB, free: 8.777 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.188, allocations: 341.6 kB / 1.595 GB, free: 8.445 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/1.188, allocations: 75.98 kB / 1.595 GB, free: 8.402 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/1.188, allocations: 86.31 kB / 1.595 GB, free: 8.352 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/1.188, allocations: 75.19 kB / 1.595 GB, free: 8.305 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.188, allocations: 0 / 1.595 GB, free: 8.305 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003811/1.188, allocations: 231.7 kB / 1.595 GB, free: 8.137 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.188, allocations: 4 kB / 1.595 GB, free: 8.133 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.188, allocations: 7.922 kB / 1.595 GB, free: 8.125 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.189, allocations: 0 / 1.595 GB, free: 8.125 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/1.189, allocations: 83.86 kB / 1.595 GB, free: 8.043 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.189, allocations: 0 / 1.595 GB, free: 8.043 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/1.189, allocations: 67.47 kB / 1.595 GB, free: 7.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.189, allocations: 4 kB / 1.595 GB, free: 7.977 MB / 1.01 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.131e-05/1.189, allocations: 115.1 kB / 1.595 GB, free: 7.863 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/1.19, allocations: 31.61 kB / 1.595 GB, free: 7.832 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/1.19, allocations: 242 kB / 1.596 GB, free: 7.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.19, allocations: 4 kB / 1.596 GB, free: 7.656 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.19, allocations: 0 / 1.596 GB, free: 7.656 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/1.19, allocations: 0 / 1.596 GB, free: 7.656 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.19, allocations: 305.6 kB / 1.596 GB, free: 7.355 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.19, allocations: 0 / 1.596 GB, free: 7.355 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.191, allocations: 79.3 kB / 1.596 GB, free: 7.281 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.191, allocations: 0 / 1.596 GB, free: 7.281 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.191, allocations: 3.984 kB / 1.596 GB, free: 7.277 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.191, allocations: 0 / 1.596 GB, free: 7.277 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.191, allocations: 0 / 1.596 GB, free: 7.277 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/1.191, allocations: 318.7 kB / 1.596 GB, free: 7.012 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.191, allocations: 127.5 kB / 1.596 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/1.191, allocations: 3.938 kB / 1.596 GB, free: 6.875 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/1.192, allocations: 55.77 kB / 1.596 GB, free: 6.824 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/1.192, allocations: 11.97 kB / 1.596 GB, free: 6.812 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/1.192, allocations: 11.67 kB / 1.596 GB, free: 6.805 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001452/1.192, allocations: 179.3 kB / 1.597 GB, free: 6.652 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.41e-07/1.192, allocations: 0 / 1.597 GB, free: 6.652 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003509/1.192, allocations: 79.23 kB / 1.597 GB, free: 6.582 MB / 1.01 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.0008744/1.193, allocations: 0.9315 MB / 1.598 GB, free: 5.688 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003756/1.194, allocations: 189 kB / 1.598 GB, free: 5.574 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.194, allocations: 0 / 1.598 GB, free: 5.574 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/1.194, allocations: 92.55 kB / 1.598 GB, free: 5.516 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/1.194, allocations: 43.34 kB / 1.598 GB, free: 5.484 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/1.195, allocations: 363.3 kB / 1.598 GB, free: 5.141 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/1.195, allocations: 0.759 MB / 1.599 GB, free: 4.359 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002627/1.196, allocations: 45.16 kB / 1.599 GB, free: 4.316 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.196, allocations: 74.7 kB / 1.599 GB, free: 4.289 MB / 1.01 GB Notification: Performance of SimCode: time 4.2e-07/1.196, allocations: 4 kB / 1.599 GB, free: 4.285 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/1.215, allocations: 6.235 MB / 1.605 GB, free: 14.24 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.215, allocations: 177.7 kB / 1.605 GB, free: 14.02 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/3.014, allocations: 0 / 1.605 GB, free: 14.02 MB / 1.026 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