Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001743/0.001743, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001697/0.001697, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.524/1.524, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.03 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3185, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002919/0.3215, allocations: 1.539 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.3223, allocations: 447 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.3223, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.3224, allocations: 3.984 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.3225, allocations: 3.938 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.3226, allocations: 15.98 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.906e-05/0.3227, allocations: 55.84 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3228, allocations: 15.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.3229, allocations: 19.92 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.323, allocations: 19.92 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.323, allocations: 7.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.323, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.323, allocations: 11.98 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.3231, allocations: 31.84 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.936e-05/0.3232, allocations: 23.97 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3232, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3232, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3232, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 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.0005552/0.3238, allocations: 367.6 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3238, allocations: 8.031 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.3238, allocations: 8.844 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.324, allocations: 172.3 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.324, allocations: 4.375 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.324, allocations: 8.375 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.3242, allocations: 61.92 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3242, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3242, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3242, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.3243, allocations: 19.98 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.3248, allocations: 300.8 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3249, allocations: 58.5 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.325, allocations: 24.94 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.325, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.3252, allocations: 79.31 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3252, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002251/0.3254, allocations: 93.62 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3255, allocations: 67.38 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3256, allocations: 105.8 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3256, allocations: 25.7 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.3257, allocations: 92.12 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3257, allocations: 24.03 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.3258, allocations: 29.7 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3259, allocations: 314.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.326, allocations: 23.92 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.3261, allocations: 51.36 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.3262, allocations: 63.38 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3262, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000149/0.3263, allocations: 97.67 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3263, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3263, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3264, allocations: 4.312 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.3264, allocations: 15.92 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3265, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3265, allocations: 11.91 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3265, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 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 0.0001088/0.3267, allocations: 125.8 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.3267, allocations: 3.984 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.3267, allocations: 7.969 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3267, allocations: 8 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3267, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3267, allocations: 3.938 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.3272, allocations: 362.3 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3272, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.3272, allocations: 4 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3272, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3272, allocations: 7.984 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3273, allocations: 7.938 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3273, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3274, allocations: 175.5 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3275, allocations: 88.94 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3275, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.3276, allocations: 11.94 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.3277, allocations: 8.172 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3277, allocations: 0 / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.3277, allocations: 99.14 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3277, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002333/0.328, allocations: 12 kB / 1.069 GB, free: 9.02 MB / 0.8262 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 0.0001091/0.3281, allocations: 105.2 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.3283, allocations: 55.92 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3283, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.3283, allocations: 27.92 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3286, allocations: 16.05 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.329, allocations: 179.3 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3293, allocations: 0.6846 MB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3293, allocations: 11.44 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3293, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.002345/0.3317, allocations: 0.8635 MB / 1.071 GB, free: 7.023 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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