Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001118/0.001117, allocations: 99.55 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.001333/0.001333, 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.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.286/2.286, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5723, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001021/0.5734, allocations: 0.5641 MB / 0.9542 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.5744, allocations: 0.8734 MB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.5745, allocations: 1.469 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.5745, allocations: 3.938 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.5746, allocations: 10.92 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.5747, allocations: 29.17 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5749, allocations: 67.08 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.575, allocations: 28.31 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.5751, allocations: 33.48 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.5752, allocations: 39.89 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.5752, allocations: 2.969 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.5752, allocations: 3.219 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.5752, allocations: 15.52 kB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.5753, allocations: 38.61 kB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.717e-05/0.5754, allocations: 96.48 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5754, allocations: 0 / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5754, allocations: 1.25 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5754, allocations: 0 / 0.9554 GB, free: 6.68 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007431/0.5762, allocations: 472.5 kB / 0.9558 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5762, allocations: 9.594 kB / 0.9558 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.5762, allocations: 40.69 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.5763, allocations: 13.45 kB / 0.9559 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5764, allocations: 179.1 kB / 0.956 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5764, allocations: 7.75 kB / 0.9561 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5765, allocations: 4.219 kB / 0.9561 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.5767, allocations: 100 kB / 0.9562 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5767, allocations: 7.922 kB / 0.9562 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5767, allocations: 9.109 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5767, allocations: 1.156 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.5769, allocations: 70.27 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.5776, allocations: 421.4 kB / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.5777, allocations: 62.08 kB / 0.9567 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.5778, allocations: 1.094 kB / 0.9567 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.5778, allocations: 36.16 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.5778, allocations: 0 / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003474/0.5781, allocations: 126 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.5782, allocations: 56.56 kB / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.5783, allocations: 151.7 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5783, allocations: 27.36 kB / 0.9571 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.5784, allocations: 103.8 kB / 0.9572 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.5784, allocations: 18.03 kB / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.5784, allocations: 4 kB / 0.9572 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.5785, allocations: 325.4 kB / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.5785, allocations: 35.8 kB / 0.9575 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.5786, allocations: 30.98 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.5787, allocations: 23.77 kB / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5787, allocations: 0 / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002077/0.5789, allocations: 112.1 kB / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.579, allocations: 5.438 kB / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.579, allocations: 0 / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.579, allocations: 0 / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.5791, allocations: 12.3 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5791, allocations: 2.5 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5793, allocations: 34.44 kB / 0.9578 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5793, allocations: 7.781 kB / 0.9578 GB, free: 4.516 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.064e-05/0.5794, allocations: 125.8 kB / 0.9579 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.5794, allocations: 7.688 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.5794, allocations: 18.5 kB / 0.9579 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5794, allocations: 1.031 kB / 0.9579 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5794, allocations: 1.156 kB / 0.9579 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5795, allocations: 3.938 kB / 0.9579 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.5796, allocations: 199.8 kB / 0.9581 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5796, allocations: 4 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.5797, allocations: 12.08 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5797, allocations: 4.969 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.5797, allocations: 0 / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5797, allocations: 0.9062 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5797, allocations: 4 kB / 0.9581 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.58, allocations: 193.2 kB / 0.9583 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.58, allocations: 87.55 kB / 0.9584 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.58, allocations: 5.5 kB / 0.9584 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.5802, allocations: 36.39 kB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.5803, allocations: 9.703 kB / 0.9584 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.5803, allocations: 9.734 kB / 0.9585 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.5804, allocations: 107.6 kB / 0.9586 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5804, allocations: 4 kB / 0.9586 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002336/0.5806, allocations: 16.62 kB / 0.9586 GB, free: 3.734 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0004251/0.581, allocations: 0.7368 MB / 0.9593 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.5813, allocations: 68.22 kB / 0.9594 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.5813, allocations: 0 / 0.9594 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.5814, allocations: 43.11 kB / 0.9594 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.5817, allocations: 8.906 kB / 0.9594 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.5827, allocations: 0.6899 MB / 0.9601 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.5829, allocations: 0.7075 MB / 0.9608 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.678e-05/0.5829, allocations: 8.312 kB / 0.9608 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.583, allocations: 26.67 kB / 0.9608 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.583, allocations: 0 / 0.9608 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.5955, allocations: 2.256 MB / 0.963 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.5957, allocations: 193.9 kB / 0.9632 GB, free: 428 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.088, allocations: 3.938 kB / 0.9632 GB, free: 424 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat does not exist to compare? outputFormat=mat