Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 79.59 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 163.3 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.873/2.873, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.701e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002674/0.002701, allocations: 1.486 MB / 0.9524 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.003539, allocations: 447.5 kB / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.003579, allocations: 4 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003608, allocations: 7.922 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.00369, allocations: 15.86 kB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.003826, allocations: 15.98 kB / 0.9529 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.00392, allocations: 55.78 kB / 0.9529 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.004011, allocations: 11.97 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.004077, allocations: 27.98 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.004137, allocations: 15.91 kB / 0.953 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.004158, allocations: 4 kB / 0.953 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.00417, allocations: 4 kB / 0.953 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.004196, allocations: 19.98 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.004234, allocations: 15.92 kB / 0.953 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.00434, allocations: 47.8 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004343, allocations: 3.938 kB / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004344, allocations: 0 / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.004348, allocations: 0 / 0.953 GB, free: 9.465 MB / 0.8575 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.00053/0.004877, allocations: 286.3 kB / 0.9533 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.004915, allocations: 8.031 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.004948, allocations: 8.891 kB / 0.9533 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.005068, allocations: 117.7 kB / 0.9535 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.005083, allocations: 4.375 kB / 0.9535 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.005104, allocations: 8.375 kB / 0.9535 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.005259, allocations: 54.23 kB / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.005268, allocations: 192 / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.005277, allocations: 384 / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.005286, allocations: 7.938 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.005349, allocations: 27.92 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.005801, allocations: 232.5 kB / 0.9538 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.005918, allocations: 50.58 kB / 0.9538 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.005964, allocations: 24.97 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.005978, allocations: 7.938 kB / 0.9539 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.006153, allocations: 75.36 kB / 0.9539 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.006154, allocations: 0 / 0.9539 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002385/0.006393, allocations: 97.58 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.006454, allocations: 63.39 kB / 0.9541 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.006561, allocations: 102.2 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.006584, allocations: 25.7 kB / 0.9542 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.006643, allocations: 92.08 kB / 0.9543 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.006677, allocations: 27.8 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.006726, allocations: 33.64 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.006877, allocations: 314.8 kB / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.006919, allocations: 19.98 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.006986, allocations: 51.3 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.007094, allocations: 71.55 kB / 0.9548 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007096, allocations: 0 / 0.9548 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000159/0.007255, allocations: 97.55 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.00727, allocations: 8 kB / 0.9549 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007275, allocations: 4.031 kB / 0.9549 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.00729, allocations: 0 / 0.9549 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.007363, allocations: 11.98 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.00737, allocations: 4 kB / 0.9549 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.007436, allocations: 11.89 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.007448, allocations: 8 kB / 0.9549 GB, free: 7.352 MB / 0.8575 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 0.0001039/0.007552, allocations: 113.8 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.007568, allocations: 11.92 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.007599, allocations: 8.125 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0076, allocations: 0 / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.007603, allocations: 4 kB / 0.9551 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.007606, allocations: 0 / 0.9551 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.008013, allocations: 302 kB / 0.9553 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.008014, allocations: 4 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.008038, allocations: 0 / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.008042, allocations: 4 kB / 0.9553 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.008058, allocations: 4 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.00806, allocations: 3.938 kB / 0.9554 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008061, allocations: 0 / 0.9554 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.008253, allocations: 179.5 kB / 0.9555 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.008266, allocations: 12.08 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.008283, allocations: 7.938 kB / 0.9555 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.008371, allocations: 11.92 kB / 0.9556 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.008434, allocations: 7.984 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.008443, allocations: 8 kB / 0.9556 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.008492, allocations: 79.28 kB / 0.9556 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.008492, allocations: 0 / 0.9556 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002358/0.008728, allocations: 16 kB / 0.9557 GB, free: 6.527 MB / 0.8575 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 0.0001144/0.008843, allocations: 101.1 kB / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.008982, allocations: 56.31 kB / 0.9558 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008984, allocations: 0 / 0.9558 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.009044, allocations: 27.92 kB / 0.9558 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.009326, allocations: 12.03 kB / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.0098, allocations: 152.9 kB / 0.956 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.687e-05/0.009877, allocations: 75.31 kB / 0.9561 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.009903, allocations: 4.062 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.009936, allocations: 16.5 kB / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.009937, allocations: 0 / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.00371/0.01365, allocations: 0.8157 MB / 0.9569 GB, free: 5.246 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.042783997952938]