Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001041/0.001041, allocations: 106.5 kB / 16.41 MB, free: 6.5 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.001021/0.001021, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.341/2.341, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 60.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6191/0.6203, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002317/0.6226, allocations: 1.463 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.6233, allocations: 450.9 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.6234, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.6234, allocations: 7.938 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.6235, allocations: 7.922 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.6236, allocations: 23.92 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.6237, allocations: 51.89 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.6238, allocations: 12 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.6239, allocations: 23.86 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.624, allocations: 19.92 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.624, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.624, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.624, allocations: 19.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.6241, allocations: 31.89 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.967e-05/0.6242, allocations: 35.83 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6242, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6242, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.6242, allocations: 4 kB / 1.21 GB, free: 11.48 MB / 0.9356 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.0004739/0.6247, allocations: 355.2 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.6247, allocations: 8.031 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.6248, allocations: 12.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.6249, allocations: 174.2 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.6249, allocations: 4.312 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.6249, allocations: 4.375 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.625, allocations: 58 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6251, allocations: 3.938 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.6251, allocations: 7.984 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.6251, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.503e-05/0.6251, allocations: 23.98 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.6256, allocations: 308.6 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.6257, allocations: 54.62 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.6258, allocations: 24.88 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.6258, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.6259, allocations: 79.41 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.6259, allocations: 0 / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0002043/0.6261, allocations: 97.61 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.6262, allocations: 55.41 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.6263, allocations: 109.8 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.6263, allocations: 29.7 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.6263, allocations: 84.14 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.6264, allocations: 23.7 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.6264, allocations: 29.72 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.6265, allocations: 322.7 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.6266, allocations: 16 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.6266, allocations: 47.36 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.767e-05/0.6267, allocations: 67.42 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6267, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001455/0.6269, allocations: 101.8 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6269, allocations: 8 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.6269, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.6269, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.627, allocations: 8 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.627, allocations: 4.375 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.6271, allocations: 15.83 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.6271, allocations: 7.984 kB / 1.213 GB, free: 9.129 MB / 0.9356 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 8.764e-05/0.6272, allocations: 129.8 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.6272, allocations: 7.938 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.6272, allocations: 7.969 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6272, allocations: 0 / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6273, allocations: 3.984 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6273, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.6276, allocations: 362.3 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6277, allocations: 0 / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.6277, allocations: 8 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6277, allocations: 0 / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.6277, allocations: 0 / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6277, allocations: 3.938 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6277, allocations: 3.938 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.6279, allocations: 175.5 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.6279, allocations: 85.02 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.6279, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.628, allocations: 23.98 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.6281, allocations: 15.86 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.6281, allocations: 4 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.6281, allocations: 83.28 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6281, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002263/0.6284, allocations: 8 kB / 1.213 GB, free: 8.117 MB / 0.9356 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 8.643e-05/0.6284, allocations: 103.2 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.6286, allocations: 59.92 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6286, allocations: 0 / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.6286, allocations: 36.05 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.6289, allocations: 6.188 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.6293, allocations: 195 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.6295, allocations: 0.6807 MB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.6296, allocations: 15.5 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.6296, allocations: 0 / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.001959/0.6315, allocations: 0.8703 MB / 1.215 GB, free: 6.098 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches