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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8203, allocations: 142.3 MB / 0.9536 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002263/0.8226, allocations: 1.734 MB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004015/0.8267, allocations: 3.347 MB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.8268, allocations: 1.438 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.827, allocations: 44.81 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.8274, allocations: 127.6 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.8277, allocations: 115.5 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.828, allocations: 198.5 kB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.8281, allocations: 52.05 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.8283, allocations: 111.3 kB / 0.9592 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.8285, allocations: 129.3 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.8285, allocations: 14.22 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.8288, allocations: 107.6 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.8288, allocations: 49.38 kB / 0.9595 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.8289, allocations: 62.08 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.8291, allocations: 224.3 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.8291, allocations: 1.375 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8291, allocations: 3.938 kB / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.8292, allocations: 0 / 0.9597 GB, free: 3.469 MB / 0.7169 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.001116/0.8303, allocations: 0.6286 MB / 0.9603 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8303, allocations: 8 kB / 0.9604 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.8304, allocations: 42 kB / 0.9604 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/0.8313, allocations: 160.2 kB / 0.9605 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.832, allocations: 324.4 kB / 0.9609 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.832, allocations: 8.188 kB / 0.9609 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.8321, allocations: 10.88 kB / 0.9609 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.8328, allocations: 260.1 kB / 0.9611 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8328, allocations: 3.984 kB / 0.9611 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.8328, allocations: 4.922 kB / 0.9611 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8329, allocations: 1.938 kB / 0.9611 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.8339, allocations: 339 kB / 0.9615 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.8352, allocations: 0.5932 MB / 0.962 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.8357, allocations: 200.6 kB / 0.9622 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/0.8365, allocations: 0.5745 MB / 0.9628 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.8365, allocations: 32.69 kB / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.8366, allocations: 0 / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001738/0.8383, allocations: 0.5694 MB / 0.9634 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.8383, allocations: 52.78 kB / 0.9634 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.8386, allocations: 274.4 kB / 0.9637 GB, free: 484 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.8386, allocations: 25.7 kB / 0.9637 GB, free: 452 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.8387, allocations: 149.5 kB / 0.9639 GB, free: 312 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.8387, allocations: 43.52 kB / 0.9639 GB, free: 272 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.8387, allocations: 4 kB / 0.9639 GB, free: 268 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8388, allocations: 340.7 kB / 0.9642 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.8394, allocations: 174.1 kB / 0.9644 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.84, allocations: 179.3 kB / 0.9646 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.8405, allocations: 173.8 kB / 0.9647 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8405, allocations: 0 / 0.9647 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001223/0.8417, allocations: 429.3 kB / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8418, allocations: 9.969 kB / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8418, allocations: 0 / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8418, allocations: 1.031 kB / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.8423, allocations: 83.5 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8423, allocations: 5.203 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.8427, allocations: 55.92 kB / 0.9653 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.8427, allocations: 23.81 kB / 0.9653 GB, free: 15.44 MB / 0.7325 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 () * Number of clocked 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 0.0001413/0.8428, allocations: 130.2 kB / 0.9654 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.8429, allocations: 23.31 kB / 0.9655 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.8442, allocations: 434.2 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.8442, allocations: 5.891 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8442, allocations: 0 / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8442, allocations: 5.094 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.8446, allocations: 308.7 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8446, allocations: 0.9062 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.8451, allocations: 78.36 kB / 0.9662 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8451, allocations: 1.031 kB / 0.9662 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.8451, allocations: 8.984 kB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8451, allocations: 1.125 kB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8451, allocations: 0 / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.8464, allocations: 0.4967 MB / 0.9667 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.8465, allocations: 121.7 kB / 0.9669 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.8466, allocations: 5 kB / 0.9669 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.8469, allocations: 54.75 kB / 0.9669 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.847, allocations: 12.89 kB / 0.9669 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.847, allocations: 7.109 kB / 0.9669 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001762/0.8472, allocations: 188.1 kB / 0.9671 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8472, allocations: 0.9688 kB / 0.9671 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003921/0.8476, allocations: 73.42 kB / 0.9672 GB, free: 14.12 MB / 0.7325 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 () * Number of clocked 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.001786/0.8494, allocations: 1.063 MB / 0.9682 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.8507, allocations: 392.9 kB / 0.9686 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8507, allocations: 0 / 0.9686 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.8513, allocations: 197 kB / 0.9688 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.8517, allocations: 31.33 kB / 0.9688 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.8532, allocations: 0.856 MB / 0.9697 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8535, allocations: 0.7519 MB / 0.9704 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.8538, allocations: 41.67 kB / 0.9704 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.854, allocations: 76.92 kB / 0.9705 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.854, allocations: 0 / 0.9705 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.8706, allocations: 5.151 MB / 0.9755 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.8708, allocations: 204.3 kB / 0.9757 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.524, allocations: 0 / 0.9757 GB, free: 8.844 MB / 0.7325 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