Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_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.001176/0.001176, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001254/0.001254, allocations: 192.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.512/1.512, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 77.64 kB / 0.6711 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001901/0.1656, allocations: 0.95 MB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.1665, allocations: 0.8672 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.1665, allocations: 4 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.1666, allocations: 7.875 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.1667, allocations: 11.92 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.1668, allocations: 39.91 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.167, allocations: 103.7 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1671, allocations: 37.11 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1672, allocations: 47.83 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.1673, allocations: 55.77 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1673, allocations: 11.94 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.1673, allocations: 12 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.1673, allocations: 23.92 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.1674, allocations: 43.73 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1675, allocations: 127.8 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1675, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1675, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1675, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.6075 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.0007574/0.1683, allocations: 463 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1683, allocations: 12.03 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.1684, allocations: 38.73 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1684, allocations: 12.84 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1685, allocations: 184.1 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1686, allocations: 8.375 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1686, allocations: 8.312 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1688, allocations: 102.1 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1688, allocations: 11.88 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1688, allocations: 4 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1688, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.169, allocations: 63.95 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.1696, allocations: 404.4 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1698, allocations: 58.56 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.1698, allocations: 36.97 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1699, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1699, allocations: 34.5 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.1699, allocations: 0 / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003069/0.1702, allocations: 113.5 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1702, allocations: 55.34 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1704, allocations: 157.5 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1704, allocations: 29.7 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.1704, allocations: 108 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1705, allocations: 11.89 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1705, allocations: 21.7 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.1706, allocations: 326.8 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.1707, allocations: 27.98 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.1708, allocations: 31.98 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1709, allocations: 48.77 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1709, allocations: 0 / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001821/0.1711, allocations: 97.48 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1711, allocations: 4 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1711, allocations: 240 / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.1711, allocations: 0 / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.1712, allocations: 15.98 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1712, allocations: 7.922 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.1714, allocations: 28.05 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1714, allocations: 4 kB / 0.7877 GB, free: 8.73 MB / 0.6075 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.1715, allocations: 124.3 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1715, allocations: 11.91 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.1716, allocations: 16.31 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1716, allocations: 0 / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1716, allocations: 3.938 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1716, allocations: 7.938 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1718, allocations: 193.6 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1718, allocations: 256 / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.1718, allocations: 11.98 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1719, allocations: 4 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1719, allocations: 0 / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1719, allocations: 4 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1719, allocations: 3.938 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1721, allocations: 187.4 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.1721, allocations: 84.92 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1722, allocations: 8 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1724, allocations: 31.94 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.1724, allocations: 19.92 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1724, allocations: 0 / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.1725, allocations: 117.7 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1725, allocations: 0 / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002125/0.1727, allocations: 12 kB / 0.7885 GB, free: 7.809 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004427/0.1732, allocations: 0.7202 MB / 0.7892 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1734, allocations: 67.91 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1734, allocations: 3.938 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.1735, allocations: 39.97 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1737, allocations: 11.94 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1752, allocations: 1.61 MB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1755, allocations: 0.6924 MB / 0.7915 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.314e-05/0.1755, allocations: 15.84 kB / 0.7916 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.1756, allocations: 31.42 kB / 0.7916 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1756, allocations: 3.938 kB / 0.7916 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.854/2.03, allocations: 2.445 MB / 0.794 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/2.03, allocations: 208.5 kB / 0.7942 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/3.824, allocations: 0 / 0.7942 GB, free: 1.941 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)