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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 99.39 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.001224/0.001224, 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6996, allocations: 142.3 MB / 0.9535 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001191/0.7008, allocations: 0.5677 MB / 0.9541 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.7021, allocations: 0.8649 MB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.7021, allocations: 1.281 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.7022, allocations: 3.938 kB / 0.9549 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.7023, allocations: 20.17 kB / 0.9549 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.7025, allocations: 29.02 kB / 0.955 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.7026, allocations: 62.3 kB / 0.955 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.7027, allocations: 36.64 kB / 0.9551 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.7029, allocations: 30.45 kB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.703, allocations: 39.67 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.703, allocations: 2.375 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.703, allocations: 7.625 kB / 0.9551 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.703, allocations: 14.39 kB / 0.9552 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.7031, allocations: 38.89 kB / 0.9552 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.7032, allocations: 97.23 kB / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.7032, allocations: 0 / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7032, allocations: 0 / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7033, allocations: 0 / 0.9553 GB, free: 6.613 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.0009401/0.7042, allocations: 465.3 kB / 0.9557 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7043, allocations: 8.969 kB / 0.9557 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.7043, allocations: 14.64 kB / 0.9557 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.7045, allocations: 180.4 kB / 0.9559 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.7045, allocations: 3.656 kB / 0.9559 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.7045, allocations: 12.69 kB / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.7048, allocations: 94.31 kB / 0.956 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.7048, allocations: 0 / 0.956 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.7049, allocations: 5.391 kB / 0.956 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7049, allocations: 5.453 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.7051, allocations: 74.12 kB / 0.9561 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/0.706, allocations: 420.8 kB / 0.9565 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.7062, allocations: 70.62 kB / 0.9566 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.7062, allocations: 5.141 kB / 0.9566 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.7062, allocations: 35.75 kB / 0.9566 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.7062, allocations: 0 / 0.9566 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004471/0.7067, allocations: 122.3 kB / 0.9567 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.7067, allocations: 56.5 kB / 0.9568 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.7069, allocations: 150.4 kB / 0.9569 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.7069, allocations: 30.77 kB / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.7069, allocations: 104.9 kB / 0.9571 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.707, allocations: 14.61 kB / 0.9571 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.707, allocations: 0 / 0.9571 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.7071, allocations: 325.1 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.7072, allocations: 39.27 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.7073, allocations: 34.8 kB / 0.9575 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.7074, allocations: 23.86 kB / 0.9575 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7074, allocations: 1.125 kB / 0.9575 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002927/0.7077, allocations: 111.2 kB / 0.9576 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7078, allocations: 5.438 kB / 0.9576 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7078, allocations: 80 / 0.9576 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7078, allocations: 1.094 kB / 0.9576 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.7079, allocations: 11.58 kB / 0.9576 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7079, allocations: 5.172 kB / 0.9576 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.7082, allocations: 32.34 kB / 0.9576 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.7082, allocations: 2.25 kB / 0.9576 GB, free: 4.496 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 9.301e-05/0.7083, allocations: 127.3 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.7084, allocations: 12.06 kB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.7084, allocations: 18.2 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7084, allocations: 1 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7084, allocations: 5 kB / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7084, allocations: 0 / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.7086, allocations: 203.2 kB / 0.958 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7087, allocations: 1.281 kB / 0.958 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.7088, allocations: 14.91 kB / 0.958 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7088, allocations: 1.094 kB / 0.958 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.7088, allocations: 0 / 0.958 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7088, allocations: 5.156 kB / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7088, allocations: 0 / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.7091, allocations: 196.7 kB / 0.9582 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.7091, allocations: 87.48 kB / 0.9583 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.7092, allocations: 1.312 kB / 0.9583 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.7095, allocations: 40.62 kB / 0.9583 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.7095, allocations: 13.28 kB / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.7096, allocations: 1.125 kB / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.998e-05/0.7097, allocations: 121.7 kB / 0.9584 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7097, allocations: 0 / 0.9584 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003589/0.71, allocations: 13.31 kB / 0.9585 GB, free: 3.707 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 9.909e-05/0.7101, allocations: 106.7 kB / 0.9586 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.7104, allocations: 75.86 kB / 0.9586 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7104, allocations: 4 kB / 0.9586 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.7106, allocations: 38.64 kB / 0.9587 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.7108, allocations: 9.75 kB / 0.9587 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.7113, allocations: 230 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.7115, allocations: 0.6982 MB / 0.9596 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.306e-05/0.7115, allocations: 12.41 kB / 0.9596 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.7116, allocations: 18.39 kB / 0.9596 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7116, allocations: 0 / 0.9596 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.004015/0.7156, allocations: 1.061 MB / 0.9607 GB, free: 2.09 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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 & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches