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.001033/0.001033, allocations: 91.61 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.001251/0.001252, 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.452/1.452, allocations: 223.2 MB / 240 MB, free: 5.43 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.303/2.303, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5988/0.5991, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0008592/0.6, allocations: 0.564 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.6008, allocations: 0.8682 MB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.6008, allocations: 1.156 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.6008, allocations: 7.938 kB / 0.9553 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.6009, allocations: 18.94 kB / 0.9553 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.6011, allocations: 24.94 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.6012, allocations: 95.11 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.6013, allocations: 28.47 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.6013, allocations: 30.33 kB / 0.9554 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.6014, allocations: 47.17 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.6015, allocations: 3.562 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.6015, allocations: 3.156 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.6015, allocations: 17.84 kB / 0.9555 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.6015, allocations: 39.89 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.565e-05/0.6016, allocations: 88.73 kB / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6016, allocations: 0 / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6016, allocations: 0 / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.6016, allocations: 0 / 0.9556 GB, free: 6.676 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.0006394/0.6023, allocations: 472 kB / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6023, allocations: 8.656 kB / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.6024, allocations: 40.89 kB / 0.9561 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.6024, allocations: 22.06 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.6025, allocations: 185.7 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.6025, allocations: 11.41 kB / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.6025, allocations: 5.031 kB / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.6027, allocations: 95.84 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6027, allocations: 0 / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.6028, allocations: 8.922 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6028, allocations: 1.469 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.6029, allocations: 74.92 kB / 0.9565 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.6035, allocations: 415.9 kB / 0.9569 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.6037, allocations: 66.78 kB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.6037, allocations: 35.88 kB / 0.957 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.6038, allocations: 3.938 kB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.6038, allocations: 35.77 kB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.6038, allocations: 1.156 kB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003017/0.6041, allocations: 122.3 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.6041, allocations: 51.41 kB / 0.9572 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.6042, allocations: 151.4 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.6042, allocations: 31.67 kB / 0.9574 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.6043, allocations: 108.9 kB / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.6043, allocations: 17.84 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.6043, allocations: 4 kB / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.6044, allocations: 325.9 kB / 0.9578 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.6044, allocations: 30.67 kB / 0.9579 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.6045, allocations: 39.95 kB / 0.9579 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.6046, allocations: 23.8 kB / 0.9579 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6046, allocations: 0 / 0.9579 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001871/0.6048, allocations: 103.7 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6048, allocations: 4.406 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6048, allocations: 5.25 kB / 0.958 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.6048, allocations: 0 / 0.958 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.6049, allocations: 11.77 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6049, allocations: 1.438 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.6051, allocations: 37.41 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.6051, allocations: 1.812 kB / 0.9581 GB, free: 4.484 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 5.99e-05/0.6052, allocations: 126 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.6052, allocations: 7.781 kB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.6052, allocations: 15.2 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6052, allocations: 1.344 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6053, allocations: 0 / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6053, allocations: 0 / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.6054, allocations: 207.8 kB / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6054, allocations: 1.562 kB / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.6055, allocations: 11.69 kB / 0.9584 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6055, allocations: 7.969 kB / 0.9584 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.6055, allocations: 3.938 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6055, allocations: 1.406 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6055, allocations: 256 / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.6057, allocations: 204.7 kB / 0.9586 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.6057, allocations: 87.11 kB / 0.9587 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.6058, allocations: 1.281 kB / 0.9587 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.606, allocations: 36.06 kB / 0.9588 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.606, allocations: 14.59 kB / 0.9588 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.606, allocations: 1.062 kB / 0.9588 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.6061, allocations: 116.3 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6061, allocations: 0 / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002319/0.6063, allocations: 16.41 kB / 0.9589 GB, free: 3.695 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.0003468/0.6067, allocations: 0.7262 MB / 0.9596 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.6069, allocations: 79.42 kB / 0.9597 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.6069, allocations: 0 / 0.9597 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.607, allocations: 39.22 kB / 0.9597 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.6073, allocations: 9.625 kB / 0.9597 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009204/0.6082, allocations: 0.6913 MB / 0.9604 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.6083, allocations: 0.6983 MB / 0.9611 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.723e-05/0.6084, allocations: 11.91 kB / 0.9611 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.6084, allocations: 35.55 kB / 0.9611 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6084, allocations: 0 / 0.9611 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.6192, allocations: 2.271 MB / 0.9634 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.6193, allocations: 198.2 kB / 0.9635 GB, free: 384 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.241, allocations: 3.797 kB / 0.9635 GB, free: 384 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