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.001094/0.001094, allocations: 100 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.001813/0.001813, allocations: 177.3 kB / 15.95 MB, free: 216 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.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.43/2.43, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8429, allocations: 142.3 MB / 0.9536 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0008037/0.8438, allocations: 427.6 kB / 0.954 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.8445, allocations: 0.7955 MB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.8445, allocations: 1.344 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.8446, allocations: 3.938 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.8446, allocations: 5.281 kB / 0.9548 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.865e-05/0.8447, allocations: 9.203 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.8448, allocations: 23.56 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.8448, allocations: 13.2 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.8449, allocations: 16.64 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.845, allocations: 17.64 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.845, allocations: 1.031 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.845, allocations: 2.281 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.845, allocations: 13.14 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.845, allocations: 32.05 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.495e-05/0.8451, allocations: 24.91 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.8451, allocations: 0 / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8451, allocations: 0 / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.8451, allocations: 1.375 kB / 0.955 GB, free: 6.938 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.0004169/0.8456, allocations: 368.2 kB / 0.9553 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8456, allocations: 10.22 kB / 0.9553 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.8456, allocations: 34.55 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.8457, allocations: 10.55 kB / 0.9554 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/0.8457, allocations: 161.9 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.8458, allocations: 1.406 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.8458, allocations: 1.438 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.846, allocations: 79.69 kB / 0.9556 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.846, allocations: 0 / 0.9556 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8461, allocations: 5.172 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8461, allocations: 7.875 kB / 0.9556 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.8464, allocations: 87.48 kB / 0.9557 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.8466, allocations: 275.7 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.8468, allocations: 69.11 kB / 0.956 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.8469, allocations: 1.406 kB / 0.956 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.8469, allocations: 39.97 kB / 0.9561 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.8469, allocations: 0 / 0.9561 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005535/0.8475, allocations: 162.2 kB / 0.9562 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.8475, allocations: 53.03 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.8476, allocations: 110.8 kB / 0.9564 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.8476, allocations: 29.7 kB / 0.9564 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.8476, allocations: 85.77 kB / 0.9565 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.8476, allocations: 17.28 kB / 0.9565 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.8476, allocations: 0 / 0.9565 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.8477, allocations: 317 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.8478, allocations: 42.78 kB / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.848, allocations: 38.88 kB / 0.9569 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.8482, allocations: 50.27 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.8482, allocations: 1.281 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.8485, allocations: 116 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.8485, allocations: 5.656 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8485, allocations: 3.938 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.8485, allocations: 3.953 kB / 0.957 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8487, allocations: 27.48 kB / 0.9571 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8487, allocations: 3.984 kB / 0.9571 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.8488, allocations: 16.86 kB / 0.9571 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.8488, allocations: 0 / 0.9571 GB, free: 4.973 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 5.264e-05/0.8488, allocations: 114 kB / 0.9572 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.8489, allocations: 5.312 kB / 0.9572 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.8489, allocations: 9.094 kB / 0.9572 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8489, allocations: 5.344 kB / 0.9572 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8489, allocations: 3.953 kB / 0.9572 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8489, allocations: 0 / 0.9572 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.849, allocations: 170 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.849, allocations: 3.938 kB / 0.9574 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8492, allocations: 19.48 kB / 0.9574 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8492, allocations: 3.938 kB / 0.9574 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.8492, allocations: 1.344 kB / 0.9574 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8492, allocations: 4 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8492, allocations: 0 / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.8495, allocations: 215.2 kB / 0.9576 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.8496, allocations: 83.14 kB / 0.9577 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.8496, allocations: 4 kB / 0.9577 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8497, allocations: 15.61 kB / 0.9577 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.8497, allocations: 9.766 kB / 0.9577 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.8497, allocations: 1.281 kB / 0.9577 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.8498, allocations: 88.95 kB / 0.9578 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8498, allocations: 1.062 kB / 0.9578 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002121/0.85, allocations: 5.656 kB / 0.9578 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.0005213/0.8505, allocations: 0.7517 MB / 0.9586 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.8509, allocations: 93.3 kB / 0.9586 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8509, allocations: 1.188 kB / 0.9586 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.851, allocations: 50.92 kB / 0.9587 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.000225/0.8513, allocations: 10.59 kB / 0.9587 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.8516, allocations: 163.4 kB / 0.9589 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.8518, allocations: 0.679 MB / 0.9595 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.8518, allocations: 1.094 kB / 0.9595 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.8518, allocations: 24.67 kB / 0.9596 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8518, allocations: 1 kB / 0.9596 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01035/0.8622, allocations: 1.27 MB / 0.9608 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.8624, allocations: 196 kB / 0.961 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.505, allocations: 0 / 0.961 GB, free: 1.754 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