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.001298/0.001298, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001447/0.001447, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.587/2.587, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6195, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002367/0.622, allocations: 1.52 MB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005433/0.6225, allocations: 446.7 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.6226, allocations: 3.938 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.6226, allocations: 9.172 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.6227, allocations: 0 / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.6228, allocations: 24.14 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.6229, allocations: 44.67 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.623, allocations: 18.94 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.623, allocations: 22.95 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.6231, allocations: 21.58 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.6231, allocations: 4 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.6231, allocations: 4.531 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.6232, allocations: 17.17 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.6232, allocations: 19.47 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.6233, allocations: 42.11 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6233, allocations: 1.281 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6233, allocations: 0 / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.6233, allocations: 0 / 0.9512 GB, free: 7.406 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.0004118/0.6237, allocations: 372.2 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.6238, allocations: 8.062 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.6238, allocations: 9.125 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.6239, allocations: 167 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.6239, allocations: 5.656 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.6239, allocations: 8.422 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.6241, allocations: 59.69 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6241, allocations: 0 / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6241, allocations: 1.375 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6241, allocations: 5.375 kB / 0.9518 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.6242, allocations: 25.73 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.6246, allocations: 305.5 kB / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.6247, allocations: 53.94 kB / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.6247, allocations: 27.92 kB / 0.9522 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.6247, allocations: 5.359 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.6249, allocations: 71.77 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.6249, allocations: 0 / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002079/0.6251, allocations: 102.1 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.6252, allocations: 53.59 kB / 0.9524 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.24e-05/0.6252, allocations: 112.1 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.6252, allocations: 26.83 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.6253, allocations: 93.59 kB / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.6253, allocations: 15.38 kB / 0.9527 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.6253, allocations: 26.61 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.6254, allocations: 323.9 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.6254, allocations: 13.88 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.6255, allocations: 49.33 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.6256, allocations: 70.38 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6256, allocations: 0.6562 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001136/0.6257, allocations: 99.03 kB / 0.9532 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.6257, allocations: 5.5 kB / 0.9532 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6257, allocations: 9.484 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.6257, allocations: 1.438 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.6258, allocations: 15.97 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.6258, allocations: 1.344 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.6259, allocations: 12.23 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.6259, allocations: 3.875 kB / 0.9533 GB, free: 5.371 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 5.467e-05/0.6259, allocations: 121.6 kB / 0.9534 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.626, allocations: 6.312 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.626, allocations: 13.47 kB / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.626, allocations: 1.438 kB / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.626, allocations: 4 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.626, allocations: 0 / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.6263, allocations: 363.6 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6263, allocations: 0.9688 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.6263, allocations: 2.938 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6263, allocations: 1.875 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.6264, allocations: 0 / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6264, allocations: 4.969 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6264, allocations: 0 / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.6265, allocations: 187.9 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.6265, allocations: 78.83 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.6265, allocations: 1.5 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.6266, allocations: 10.36 kB / 0.954 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.6267, allocations: 12.45 kB / 0.9541 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.6267, allocations: 2.75 kB / 0.9541 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.6267, allocations: 79.41 kB / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6267, allocations: 4.188 kB / 0.9541 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002261/0.6269, allocations: 19.72 kB / 0.9542 GB, free: 4.5 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.397e-05/0.627, allocations: 102.6 kB / 0.9543 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.6271, allocations: 69.36 kB / 0.9543 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6272, allocations: 0 / 0.9543 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.6272, allocations: 25.75 kB / 0.9543 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.6275, allocations: 8.984 kB / 0.9544 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.6278, allocations: 174.6 kB / 0.9545 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.653e-05/0.6279, allocations: 0.6947 MB / 0.9552 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.6279, allocations: 3.531 kB / 0.9552 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.628, allocations: 15 kB / 0.9552 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.628, allocations: 0 / 0.9552 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.002526/0.6305, allocations: 0.7253 MB / 0.9559 GB, free: 3.113 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