Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",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.0008277/0.0008277, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009473/0.0009473, allocations: 172.7 kB / 15.95 MB, free: 208 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.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.297 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.343/2.343, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6909, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.002766/0.6937, allocations: 2.677 MB / 0.9565 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.6951, allocations: 0.7845 MB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.6954, allocations: 13.88 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.6957, allocations: 73.09 kB / 0.9573 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.6958, allocations: 50.2 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.6962, allocations: 151.9 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.6968, allocations: 0.6182 MB / 0.9581 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.6973, allocations: 264.5 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.6975, allocations: 158.2 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.6977, allocations: 181.7 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.6978, allocations: 16.09 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.6978, allocations: 15.09 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.6979, allocations: 79.98 kB / 0.9588 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.168e-05/0.698, allocations: 129.9 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.6985, allocations: 0.7383 MB / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6985, allocations: 0 / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6985, allocations: 0 / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.6985, allocations: 1.375 kB / 0.9597 GB, free: 3.516 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001221/0.6997, allocations: 0.8427 MB / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6998, allocations: 9.625 kB / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.671e-05/0.6999, allocations: 91.02 kB / 0.9606 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.7, allocations: 74.58 kB / 0.9606 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.7005, allocations: 454.8 kB / 0.9611 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.7006, allocations: 43.41 kB / 0.9611 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.7007, allocations: 50.03 kB / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.7017, allocations: 0.5556 MB / 0.9617 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.7017, allocations: 0 / 0.9617 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.7018, allocations: 21.22 kB / 0.9617 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.7018, allocations: 17.17 kB / 0.9617 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.7028, allocations: 455.1 kB / 0.9622 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.7058, allocations: 1.866 MB / 0.964 GB, free: 224 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.7072, allocations: 0.5503 MB / 0.9645 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.7076, allocations: 223.8 kB / 0.9648 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.7077, allocations: 2.25 kB / 0.9648 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.7077, allocations: 38.12 kB / 0.9648 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.7077, allocations: 0 / 0.9648 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.001198/0.7089, allocations: 0.5244 MB / 0.9653 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.709, allocations: 110.6 kB / 0.9654 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.7097, allocations: 0.494 MB / 0.9659 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.7097, allocations: 36.27 kB / 0.9659 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.71, allocations: 293 kB / 0.9662 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.7101, allocations: 116 kB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.7101, allocations: 5.875 kB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7103, allocations: 357.7 kB / 0.9667 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.7106, allocations: 159.4 kB / 0.9668 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.7111, allocations: 263.1 kB / 0.9671 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.7115, allocations: 178.1 kB / 0.9672 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7115, allocations: 0 / 0.9672 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009539/0.7124, allocations: 492 kB / 0.9677 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.7126, allocations: 134.9 kB / 0.9678 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7126, allocations: 5.125 kB / 0.9678 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7126, allocations: 3.906 kB / 0.9678 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.713, allocations: 92.97 kB / 0.9679 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.713, allocations: 8.75 kB / 0.9679 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.7134, allocations: 87.42 kB / 0.968 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.7134, allocations: 10.09 kB / 0.968 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.7134, allocations: 7.281 kB / 0.968 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006469/0.7141, allocations: 345.5 kB / 0.9684 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.7141, allocations: 1.344 kB / 0.9684 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.7141, allocations: 3.938 kB / 0.9684 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.7144, allocations: 79.64 kB / 0.9684 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7144, allocations: 3 kB / 0.9685 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.7147, allocations: 72.81 kB / 0.9685 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.7147, allocations: 17.11 kB / 0.9685 GB, free: 13.33 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003323/0.715, allocations: 267 kB / 0.9688 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.7151, allocations: 50.41 kB / 0.9688 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009222/0.7161, allocations: 428.3 kB / 0.9692 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.7161, allocations: 6.609 kB / 0.9693 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.7161, allocations: 1.312 kB / 0.9693 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.7161, allocations: 0 / 0.9693 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.7168, allocations: 0.5427 MB / 0.9698 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7168, allocations: 1.031 kB / 0.9698 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.7171, allocations: 88.77 kB / 0.9699 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7171, allocations: 1.188 kB / 0.9699 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.7172, allocations: 6.344 kB / 0.9699 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7172, allocations: 2.25 kB / 0.9699 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/0.7172, allocations: 3.953 kB / 0.9699 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.7184, allocations: 0.6886 MB / 0.9706 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.7185, allocations: 134.1 kB / 0.9707 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.7186, allocations: 10.38 kB / 0.9707 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.7189, allocations: 42.22 kB / 0.9707 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.719, allocations: 30.83 kB / 0.9708 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.719, allocations: 15.7 kB / 0.9708 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000432/0.7194, allocations: 352.6 kB / 0.9711 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.473e-06/0.7194, allocations: 0 / 0.9711 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006277/0.7201, allocations: 175.4 kB / 0.9713 GB, free: 11.48 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001619/0.7217, allocations: 1.233 MB / 0.9725 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.723, allocations: 0.5559 MB / 0.973 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.723, allocations: 0 / 0.973 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.7233, allocations: 192.5 kB / 0.9732 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.724, allocations: 89.3 kB / 0.9733 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/0.7294, allocations: 2.98 MB / 0.9762 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.7299, allocations: 0.8543 MB / 0.977 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002821/0.7301, allocations: 63.72 kB / 0.9771 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.7304, allocations: 199.3 kB / 0.9773 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.7305, allocations: 0 / 0.9773 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.7612, allocations: 9.283 MB / 0.9864 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.7616, allocations: 204.3 kB / 0.9866 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.681, allocations: 5.25 kB / 0.9866 GB, free: 14.24 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat does not exist to compare? outputFormat=mat