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.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.001304/0.001304, allocations: 77.78 kB / 19.76 MB, free: 2.027 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.001421/0.001421, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.922/2.922, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 59.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9039, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002587/0.9065, allocations: 1.494 MB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.9072, allocations: 453.7 kB / 1.188 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.9073, allocations: 1.438 kB / 1.188 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.9073, allocations: 5.297 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.9074, allocations: 5.922 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.9076, allocations: 29.28 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.9077, allocations: 47.98 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.9078, allocations: 10.47 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.9078, allocations: 18.97 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.9079, allocations: 23.08 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.9079, allocations: 3.906 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.9079, allocations: 13.06 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.9079, allocations: 12.25 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.908, allocations: 20.31 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.9081, allocations: 41.03 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9081, allocations: 0 / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9081, allocations: 0 / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.9081, allocations: 0 / 1.189 GB, free: 14.73 MB / 1.076 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.000464/0.9086, allocations: 285.6 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.9086, allocations: 9.875 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.9087, allocations: 4.656 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.9088, allocations: 122.8 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.9088, allocations: 3.172 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.9088, allocations: 3.812 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.9089, allocations: 62.45 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9089, allocations: 5.109 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9089, allocations: 4 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.9089, allocations: 1.953 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.004e-05/0.909, allocations: 22.52 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.9094, allocations: 243.5 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.9095, allocations: 55.81 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.9096, allocations: 21.73 kB / 1.189 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.9096, allocations: 0 / 1.189 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.9097, allocations: 79.88 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.9097, allocations: 0 / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0002275/0.91, allocations: 97.42 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.91, allocations: 54.62 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.149e-05/0.9101, allocations: 111.2 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.9101, allocations: 28.44 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.9101, allocations: 89.94 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.9101, allocations: 25.47 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.9102, allocations: 28.7 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.9102, allocations: 318.7 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.9102, allocations: 16.31 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.9103, allocations: 48.8 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.9104, allocations: 66.33 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9104, allocations: 4 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000133/0.9105, allocations: 102.4 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9105, allocations: 6.906 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.9105, allocations: 5.75 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9106, allocations: 2.156 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.9106, allocations: 9.703 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9106, allocations: 1.922 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.9107, allocations: 9.703 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.9107, allocations: 3.312 kB / 1.191 GB, free: 13.05 MB / 1.076 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.13e-05/0.9108, allocations: 131.4 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.9108, allocations: 10.62 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.9108, allocations: 9.953 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9108, allocations: 5.156 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9108, allocations: 1.703 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.9108, allocations: 0 / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.9112, allocations: 292.7 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9112, allocations: 1.219 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.9112, allocations: 8.141 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9112, allocations: 0.8438 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.9112, allocations: 1.25 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9112, allocations: 1.984 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9112, allocations: 0 / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.9114, allocations: 191.7 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.9114, allocations: 7.984 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.9114, allocations: 0.6562 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.9115, allocations: 5.297 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.9115, allocations: 7.953 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.9115, allocations: 10.62 kB / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.9116, allocations: 80.98 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9116, allocations: 0 / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002405/0.9118, allocations: 27.42 kB / 1.191 GB, free: 12.38 MB / 1.076 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.932e-05/0.9119, allocations: 100.6 kB / 1.191 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.912, allocations: 52.12 kB / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.912, allocations: 0 / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.9121, allocations: 25.5 kB / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.9124, allocations: 11.34 kB / 1.191 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.9128, allocations: 153.2 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.9129, allocations: 76.86 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.9129, allocations: 9.516 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.913, allocations: 17.19 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.913, allocations: 288 / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of Templates: time 0.004117/0.9171, allocations: 0.8206 MB / 1.193 GB, free: 11.92 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.92597937094979]