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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001611/0.001611, allocations: 118.3 kB / 16.81 MB, free: 5.77 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.001685/0.001685, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.51/1.51, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 58.56 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3881, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00268/0.3908, allocations: 1.467 MB / 1.263 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.3916, allocations: 450.9 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.3916, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.3916, allocations: 7.875 kB / 1.264 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.3917, allocations: 7.938 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.3919, allocations: 23.91 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.392, allocations: 43.92 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3921, allocations: 19.97 kB / 1.264 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.3921, allocations: 23.86 kB / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.3922, allocations: 19.92 kB / 1.264 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3922, allocations: 4 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.3922, allocations: 4 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.3922, allocations: 11.92 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.3923, allocations: 23.88 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3924, allocations: 55.73 kB / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3924, allocations: 0 / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3924, allocations: 0 / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3924, allocations: 0 / 1.264 GB, free: 10.83 MB / 0.9825 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.0005617/0.393, allocations: 363.3 kB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.393, allocations: 8.031 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.3931, allocations: 0.9375 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3932, allocations: 180.2 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3932, allocations: 4.375 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3933, allocations: 12.36 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3934, allocations: 54 kB / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3934, allocations: 0 / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3934, allocations: 4 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3934, allocations: 4 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.3935, allocations: 23.92 kB / 1.265 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.394, allocations: 301.9 kB / 1.265 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3941, allocations: 50.59 kB / 1.265 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.3942, allocations: 28.94 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.3942, allocations: 0 / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3943, allocations: 75.33 kB / 1.265 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3943, allocations: 0 / 1.265 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002323/0.3946, allocations: 101.9 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3946, allocations: 55.41 kB / 1.265 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.3947, allocations: 109.8 kB / 1.265 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3947, allocations: 33.8 kB / 1.265 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3948, allocations: 88.08 kB / 1.266 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3948, allocations: 23.78 kB / 1.266 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3949, allocations: 29.66 kB / 1.266 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.395, allocations: 326.8 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.395, allocations: 20 kB / 1.266 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.3951, allocations: 47.36 kB / 1.266 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.3952, allocations: 67.36 kB / 1.266 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3952, allocations: 0 / 1.266 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.3953, allocations: 93.58 kB / 1.266 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3953, allocations: 12.02 kB / 1.266 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3953, allocations: 0 / 1.266 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3954, allocations: 4 kB / 1.266 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.3954, allocations: 11.94 kB / 1.266 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3954, allocations: 0 / 1.266 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.3955, allocations: 11.98 kB / 1.266 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.3955, allocations: 4 kB / 1.266 GB, free: 8.477 MB / 0.9825 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 9.525e-05/0.3956, allocations: 119.8 kB / 1.266 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.3956, allocations: 7.953 kB / 1.266 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.3957, allocations: 11.97 kB / 1.266 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3957, allocations: 0 / 1.266 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3957, allocations: 0 / 1.266 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.3957, allocations: 85.09 kB / 1.266 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3958, allocations: 7.938 kB / 1.266 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.3958, allocations: 4 kB / 1.266 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3958, allocations: 7.984 kB / 1.266 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002001/0.396, allocations: 168.9 kB / 1.267 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002157/0.3963, allocations: 262.7 kB / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.704e-05/0.3963, allocations: 20.11 kB / 1.267 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.3964, allocations: 91.48 kB / 1.267 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of Backend: time 3.3e-07/0.3964, allocations: 4 kB / 1.267 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.3967, allocations: 112.6 kB / 1.267 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006109/0.3973, allocations: 0.5959 MB / 1.268 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.00339/0.4007, allocations: 0.8172 MB / 1.268 GB, free: 6.074 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches