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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 112.1 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 192.7 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.88 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9292/0.9313, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002533/0.9338, allocations: 1.485 MB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.9345, allocations: 435.2 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.9345, allocations: 4.75 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.9346, allocations: 5.406 kB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.9347, allocations: 13.91 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.9348, allocations: 17.36 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.9349, allocations: 59.41 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.935, allocations: 12.08 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.9351, allocations: 22.28 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.9351, allocations: 19.22 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.9352, allocations: 3.969 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.9352, allocations: 4.438 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.9352, allocations: 13.5 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.9352, allocations: 25.5 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.9354, allocations: 51.44 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9354, allocations: 0.875 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9354, allocations: 0 / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.9354, allocations: 0 / 1.265 GB, free: 6.551 MB / 0.9981 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.0004434/0.9358, allocations: 359.6 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9359, allocations: 10.27 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.9359, allocations: 15.86 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.936, allocations: 164.5 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.936, allocations: 3.234 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.9361, allocations: 8.969 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.9362, allocations: 65.72 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.9362, allocations: 0.8438 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.9362, allocations: 0.7969 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9362, allocations: 1.406 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.9363, allocations: 26.09 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.9367, allocations: 307.4 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.9368, allocations: 57.66 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.9369, allocations: 23.11 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.9369, allocations: 1.484 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.9371, allocations: 81.39 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.9371, allocations: 0 / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002284/0.9373, allocations: 100.8 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.9374, allocations: 54.17 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.9374, allocations: 107.6 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.9374, allocations: 31.66 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.9375, allocations: 82.75 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.9375, allocations: 21.3 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.9375, allocations: 32.77 kB / 1.266 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.9376, allocations: 322 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.9376, allocations: 16.42 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.9377, allocations: 43.94 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.154e-05/0.9378, allocations: 65.05 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.9378, allocations: 5.125 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.9379, allocations: 93.66 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9379, allocations: 5.953 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.938, allocations: 5.406 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.938, allocations: 5.656 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.938, allocations: 12.94 kB / 1.267 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9381, allocations: 1.922 kB / 1.267 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.9381, allocations: 15.12 kB / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.9381, allocations: 7.281 kB / 1.267 GB, free: 4.625 MB / 0.9981 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.77e-05/0.9382, allocations: 127 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.9382, allocations: 6.172 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.9382, allocations: 10.12 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9383, allocations: 1.156 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9383, allocations: 4.875 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9383, allocations: 0.8438 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.9386, allocations: 356.5 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9386, allocations: 0 / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.9387, allocations: 8.828 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.9387, allocations: 4.922 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.9387, allocations: 1.672 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9387, allocations: 9.047 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9387, allocations: 0.6562 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.9388, allocations: 182.4 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.9388, allocations: 82.98 kB / 1.267 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.9389, allocations: 5.984 kB / 1.267 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.9389, allocations: 14.28 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.939, allocations: 6.609 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.939, allocations: 2.938 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.939, allocations: 85.09 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9391, allocations: 0 / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002334/0.9393, allocations: 15.59 kB / 1.268 GB, free: 3.789 MB / 0.9981 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.177e-05/0.9394, allocations: 97.25 kB / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.9395, allocations: 65.73 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.9395, allocations: 0.7812 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.9396, allocations: 23.25 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.9399, allocations: 11.97 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.9401, allocations: 184.3 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.9403, allocations: 0.6852 MB / 1.269 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.9403, allocations: 11.25 kB / 1.269 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.9403, allocations: 9.125 kB / 1.269 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of Templates: time 0.002603/0.9429, allocations: 0.8581 MB / 1.27 GB, free: 2.727 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 11.483372496906668]