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.001662/0.001662, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.002372/0.002372, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.83 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2774, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002746/0.2802, allocations: 1.476 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.2809, allocations: 447 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.281, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.2811, allocations: 7.922 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.2811, allocations: 3.938 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.2813, allocations: 19.92 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.2814, allocations: 55.78 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.2815, allocations: 23.97 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.2816, allocations: 12 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.2816, allocations: 27.84 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2816, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.2817, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.2817, allocations: 8 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.2817, allocations: 23.86 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.2818, allocations: 39.88 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2818, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2818, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2818, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 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.0004814/0.2823, allocations: 359.7 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2824, allocations: 12.03 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.2824, allocations: 12.83 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2826, allocations: 172.3 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2826, allocations: 8.312 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2826, allocations: 4.375 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2827, allocations: 61.98 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2827, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2827, allocations: 3.984 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2828, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.2828, allocations: 31.92 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.2833, allocations: 304.7 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.2834, allocations: 50.64 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.2834, allocations: 24.91 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.2835, allocations: 8 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.2836, allocations: 71.38 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2836, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0002104/0.2838, allocations: 93.62 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2839, allocations: 59.33 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.284, allocations: 109.8 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.284, allocations: 25.7 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.2841, allocations: 100.1 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2841, allocations: 23.66 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.2841, allocations: 29.64 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2842, allocations: 318.8 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.2843, allocations: 19.98 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.2843, allocations: 47.73 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.263e-05/0.2844, allocations: 71.38 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2845, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001358/0.2846, allocations: 89.61 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2846, allocations: 14.12 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2846, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2846, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.2847, allocations: 19.92 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2847, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.2848, allocations: 11.94 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2848, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8419 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 8.122e-05/0.2849, allocations: 120.3 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.2849, allocations: 12.27 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.285, allocations: 3.969 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.285, allocations: 3.984 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.285, allocations: 0 / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.285, allocations: 0 / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.2854, allocations: 370.3 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2854, allocations: 0 / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.2854, allocations: 7.938 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2855, allocations: 0 / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2855, allocations: 7.922 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2855, allocations: 3.938 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2855, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2856, allocations: 179.5 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.2857, allocations: 92.94 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2857, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.2858, allocations: 7.938 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2858, allocations: 11.98 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2859, allocations: 4.062 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.2859, allocations: 83.27 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002302/0.2861, allocations: 16.19 kB / 1.069 GB, free: 9.508 MB / 0.8419 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 9.192e-05/0.2862, allocations: 103.2 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.2864, allocations: 67.8 kB / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2864, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.2865, allocations: 23.98 kB / 1.069 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2867, allocations: 11.98 kB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.2871, allocations: 167.3 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2873, allocations: 0.6846 MB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.2874, allocations: 11.44 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.2874, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of Templates: time 0.002349/0.2897, allocations: 0.8619 MB / 1.071 GB, free: 7.52 MB / 0.8419 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) "" 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