Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009122/0.009122, allocations: 169.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004095, allocations: 12 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7342, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001348/0.7356, allocations: 1.185 MB / 0.9562 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005624/0.7362, allocations: 435.6 kB / 0.9566 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.7362, allocations: 1.438 kB / 0.9566 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.7363, allocations: 7.875 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.7363, allocations: 5.375 kB / 0.9566 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.7365, allocations: 30.84 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.7366, allocations: 44 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.7367, allocations: 9.656 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.7367, allocations: 19.14 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.7368, allocations: 20.58 kB / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.7368, allocations: 2.25 kB / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.7369, allocations: 3.156 kB / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.7369, allocations: 12.88 kB / 0.9568 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.7369, allocations: 45.61 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.809e-05/0.737, allocations: 37.5 kB / 0.9568 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.737, allocations: 0 / 0.9568 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.737, allocations: 0 / 0.9568 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.737, allocations: 0 / 0.9568 GB, free: 6.238 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004362/0.7375, allocations: 356.5 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.7375, allocations: 9 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.7376, allocations: 7.25 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.7377, allocations: 172 kB / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.7377, allocations: 5.594 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.7377, allocations: 8.828 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.7378, allocations: 59.22 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7378, allocations: 1.062 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7378, allocations: 4 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7378, allocations: 1.25 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.7379, allocations: 22.86 kB / 0.9574 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.7383, allocations: 322.2 kB / 0.9578 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.7384, allocations: 53.25 kB / 0.9578 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.7385, allocations: 20.8 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.7385, allocations: 8.828 kB / 0.9578 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.7387, allocations: 71.89 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.7387, allocations: 5 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000208/0.7389, allocations: 100.5 kB / 0.958 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.7389, allocations: 58.59 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.739, allocations: 106.6 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.739, allocations: 25.7 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.739, allocations: 92.05 kB / 0.9583 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.7391, allocations: 20.2 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.7391, allocations: 18.31 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.7391, allocations: 324.4 kB / 0.9586 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.7392, allocations: 12.94 kB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.7392, allocations: 45.14 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.7393, allocations: 74.53 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7393, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001203/0.7394, allocations: 95.34 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.7395, allocations: 5.375 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7395, allocations: 1.969 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7395, allocations: 3.984 kB / 0.9588 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.7395, allocations: 9.156 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7396, allocations: 5.281 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.7396, allocations: 14.5 kB / 0.9589 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.7396, allocations: 14.61 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.06e-05/0.7397, allocations: 124.2 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.7397, allocations: 6.531 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.7398, allocations: 9.531 kB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7398, allocations: 0 / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.7398, allocations: 3.375 kB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7398, allocations: 0 / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.7401, allocations: 361.5 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7401, allocations: 1.094 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.7402, allocations: 7.391 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7402, allocations: 0 / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.7402, allocations: 1.531 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7402, allocations: 9.562 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7402, allocations: 0 / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.7403, allocations: 186.7 kB / 0.9596 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.7403, allocations: 79.61 kB / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.7404, allocations: 5.25 kB / 0.9596 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.7404, allocations: 13.17 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.7405, allocations: 7.391 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.7405, allocations: 2.656 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.7405, allocations: 83.25 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7405, allocations: 4 kB / 0.9598 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002313/0.7408, allocations: 11.19 kB / 0.9598 GB, free: 3.348 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.643e-05/0.7409, allocations: 103.4 kB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.741, allocations: 56.52 kB / 0.9599 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.741, allocations: 0 / 0.9599 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.7411, allocations: 24.84 kB / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.7413, allocations: 15.3 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.7417, allocations: 186.6 kB / 0.9601 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.7418, allocations: 0.6843 MB / 0.9608 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.7419, allocations: 15.03 kB / 0.9608 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.7419, allocations: 11.16 kB / 0.9608 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7419, allocations: 0 / 0.9608 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.002601/0.7445, allocations: 0.676 MB / 0.9615 GB, free: 1.988 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches