Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.0008105/0.0008103, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008497/0.0008498, allocations: 168.7 kB / 15.95 MB, free: 204 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.27 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.539/2.539, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003439, allocations: 12 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8436, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009062/0.8445, allocations: 426.3 kB / 0.9543 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.8454, allocations: 0.8 MB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.8454, allocations: 0 / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.8454, allocations: 0 / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.8455, allocations: 5.25 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.196e-05/0.8456, allocations: 9.016 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.8457, allocations: 38.86 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.8458, allocations: 12.45 kB / 0.9551 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.8459, allocations: 17.64 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.8459, allocations: 24.8 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.846, allocations: 1.406 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.846, allocations: 2.438 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.846, allocations: 1.312 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.846, allocations: 27.14 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.958e-05/0.8461, allocations: 30.08 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.8461, allocations: 3.984 kB / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8461, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8461, allocations: 1.344 kB / 0.9552 GB, free: 6.965 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004934/0.8466, allocations: 372.8 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8467, allocations: 8.562 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.8467, allocations: 31.81 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.8468, allocations: 10.45 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.8469, allocations: 169.5 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8469, allocations: 8.875 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.8469, allocations: 2.438 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.8472, allocations: 75.5 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.8472, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8472, allocations: 1.5 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.8472, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.8476, allocations: 99.03 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.8479, allocations: 266.8 kB / 0.9562 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.8481, allocations: 62.05 kB / 0.9563 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.8482, allocations: 50.16 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.8483, allocations: 0 / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.8483, allocations: 36.09 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.8483, allocations: 4 kB / 0.9564 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005026/0.8488, allocations: 162.2 kB / 0.9565 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.8488, allocations: 56.64 kB / 0.9566 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.8489, allocations: 102.8 kB / 0.9567 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.8489, allocations: 25.7 kB / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.849, allocations: 94.66 kB / 0.9568 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.849, allocations: 12.78 kB / 0.9568 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.849, allocations: 0 / 0.9568 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.849, allocations: 316.1 kB / 0.9571 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.8492, allocations: 46.92 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.8493, allocations: 44.16 kB / 0.9572 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.8494, allocations: 47.08 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.8495, allocations: 0 / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002877/0.8497, allocations: 124.3 kB / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8498, allocations: 5.125 kB / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8498, allocations: 0 / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8498, allocations: 5.297 kB / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.8499, allocations: 18.23 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8499, allocations: 4.969 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.85, allocations: 19.97 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.85, allocations: 1.156 kB / 0.9574 GB, free: 4.98 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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 6.257e-05/0.8501, allocations: 111.1 kB / 0.9575 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.8501, allocations: 5.844 kB / 0.9575 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.8502, allocations: 5.969 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8502, allocations: 7.953 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.8502, allocations: 1.094 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8502, allocations: 0 / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.8503, allocations: 173.5 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.8503, allocations: 0 / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.8504, allocations: 22.86 kB / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8505, allocations: 9.344 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8505, allocations: 0 / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8505, allocations: 0 / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8505, allocations: 9.266 kB / 0.9578 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.8508, allocations: 215.3 kB / 0.958 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.8508, allocations: 82.14 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8509, allocations: 1.219 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.851, allocations: 14.95 kB / 0.9581 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.851, allocations: 10.17 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.851, allocations: 9.016 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.8511, allocations: 80.69 kB / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8511, allocations: 1.156 kB / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002225/0.8513, allocations: 9.562 kB / 0.9582 GB, free: 4.246 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.0005511/0.8519, allocations: 0.7474 MB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.8522, allocations: 93.83 kB / 0.959 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8522, allocations: 0 / 0.959 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.8523, allocations: 54.64 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.8526, allocations: 3.438 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.8531, allocations: 166.4 kB / 0.9592 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.8532, allocations: 0.6802 MB / 0.9599 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.8532, allocations: 0 / 0.9599 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.8533, allocations: 13.66 kB / 0.9599 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8533, allocations: 4 kB / 0.9599 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.8651, allocations: 1.287 MB / 0.9611 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.8653, allocations: 192.8 kB / 0.9613 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.539, allocations: 6.812 kB / 0.9613 GB, free: 1.762 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat