Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.002696/0.002697, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.93/1.93, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.7428 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8006, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002416/0.8031, allocations: 1.483 MB / 1.222 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.8038, allocations: 443 kB / 1.223 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.8038, allocations: 0 / 1.223 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.8039, allocations: 3.938 kB / 1.223 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.8039, allocations: 7.922 kB / 1.223 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.8041, allocations: 23.92 kB / 1.223 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.8042, allocations: 59.83 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8043, allocations: 12 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.8044, allocations: 19.92 kB / 1.223 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.8044, allocations: 23.91 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.8045, allocations: 4 kB / 1.223 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.8045, allocations: 4 kB / 1.223 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.8045, allocations: 11.94 kB / 1.223 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.8046, allocations: 19.92 kB / 1.223 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.8047, allocations: 43.81 kB / 1.223 GB, free: 176 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8047, allocations: 4 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8047, allocations: 0 / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8047, allocations: 0 / 1.223 GB, free: 172 kB / 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.0005121/0.8052, allocations: 369.8 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8053, allocations: 8.031 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.8053, allocations: 8.844 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.8054, allocations: 170.2 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.8054, allocations: 4.375 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.8055, allocations: 12.31 kB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.8056, allocations: 61.98 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.8056, allocations: 0 / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8056, allocations: 7.938 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.8056, allocations: 0 / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.914e-05/0.8057, allocations: 23.98 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.8061, allocations: 300.7 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.8062, allocations: 58.62 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.8063, allocations: 24.91 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.8063, allocations: 7.984 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.8064, allocations: 71.38 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8064, allocations: 0 / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002055/0.8066, allocations: 101.5 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.8067, allocations: 55.41 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.8068, allocations: 113.8 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8068, allocations: 25.7 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.8068, allocations: 96.03 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.8069, allocations: 15.81 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.8069, allocations: 25.7 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.807, allocations: 318.8 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.807, allocations: 27.92 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.8071, allocations: 43.42 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.8072, allocations: 63.75 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8072, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001312/0.8073, allocations: 93.52 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8073, allocations: 9.719 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8074, allocations: 7.969 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8074, allocations: 0 / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.8075, allocations: 16 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.8075, allocations: 11.98 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.8075, allocations: 7.938 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.8076, allocations: 4 kB / 1.225 GB, free: 13.81 MB / 0.9512 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 7.993e-05/0.8076, allocations: 118.3 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.8077, allocations: 7.906 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.8077, allocations: 15.95 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8077, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8077, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.8078, allocations: 81.11 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.8078, allocations: 7.938 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.8078, allocations: 3.984 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.8079, allocations: 11.92 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000181/0.8081, allocations: 161.2 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001816/0.8083, allocations: 262.7 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.738e-05/0.8083, allocations: 31.91 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.8084, allocations: 83.22 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of Backend: time 2.41e-07/0.8084, allocations: 4 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.8087, allocations: 114.4 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004638/0.8092, allocations: 0.5846 MB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.002688/0.8119, allocations: 0.7941 MB / 1.227 GB, free: 11.43 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches