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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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.001189/0.001189, allocations: 112.6 kB / 16.37 MB, free: 6 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.001174/0.001174, allocations: 196 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.97 kB / 0.8773 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 153 MB / 1.027 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002455/0.2961, allocations: 1.493 MB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.2967, allocations: 450.7 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.2968, allocations: 3.938 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.2968, allocations: 3.938 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.2969, allocations: 7.922 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.297, allocations: 19.98 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.433e-05/0.2971, allocations: 63.77 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2972, allocations: 12 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.2973, allocations: 19.92 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.2974, allocations: 23.91 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2974, allocations: 4 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2974, allocations: 4 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.2974, allocations: 8 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.2975, allocations: 27.84 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.2976, allocations: 39.83 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2976, allocations: 4 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2976, allocations: 0 / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2976, allocations: 0 / 1.029 GB, free: 15.94 MB / 0.8106 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.0004696/0.2981, allocations: 368.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2981, allocations: 8.031 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.2982, allocations: 4.938 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2983, allocations: 180.2 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.2983, allocations: 384 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2983, allocations: 8.375 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2984, allocations: 65.92 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.2985, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2985, allocations: 4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2985, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.2985, allocations: 23.98 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.299, allocations: 304.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.551e-05/0.2991, allocations: 50.56 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.2991, allocations: 28.94 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2992, allocations: 4 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.2993, allocations: 83.25 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2993, allocations: 0 / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000201/0.2995, allocations: 93.62 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2995, allocations: 59.39 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.2996, allocations: 109.8 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2996, allocations: 25.7 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.2997, allocations: 92.12 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2997, allocations: 23.66 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.2998, allocations: 25.7 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.2999, allocations: 318.8 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.2999, allocations: 23.98 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.2999, allocations: 47.36 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.3, allocations: 63.38 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001352/0.3002, allocations: 97.55 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3002, allocations: 11.94 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.3002, allocations: 4.031 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3002, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.3003, allocations: 15.98 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3003, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.3004, allocations: 7.906 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3004, allocations: 4 kB / 1.031 GB, free: 13.58 MB / 0.8106 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.125e-05/0.3005, allocations: 129.7 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.3005, allocations: 3.984 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.3005, allocations: 11.97 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3005, allocations: 288 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3006, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3006, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.3009, allocations: 366.7 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3009, allocations: 4 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.301, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.301, allocations: 4.094 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.301, allocations: 7.922 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.301, allocations: 7.938 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.301, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.3011, allocations: 175.5 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.3012, allocations: 92.94 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3012, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.3013, allocations: 7.938 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.3014, allocations: 11.98 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3014, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.3014, allocations: 91.27 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3014, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002321/0.3017, allocations: 12 kB / 1.032 GB, free: 12.57 MB / 0.8106 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.286e-05/0.3018, allocations: 103.2 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.3019, allocations: 51.92 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3019, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.302, allocations: 27.98 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3022, allocations: 12.05 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.3025, allocations: 137.6 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3028, allocations: 0.6884 MB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.3028, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.3028, allocations: 11.72 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3028, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of Templates: time 0.002711/0.3056, allocations: 0.7849 MB / 1.034 GB, free: 10.7 MB / 0.8106 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 -s gbode -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