Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001325/0.001325, allocations: 98.86 kB / 16.35 MB, free: 5.828 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.001343/0.001343, allocations: 193.4 kB / 17.29 MB, free: 5.484 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 62.94 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3164, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.004387/0.3209, allocations: 1.49 MB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.3219, allocations: 442.9 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.3219, allocations: 4 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.322, allocations: 11.92 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3222, allocations: 3.938 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3224, allocations: 23.92 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3225, allocations: 43.91 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3227, allocations: 23.97 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.3228, allocations: 19.88 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.3229, allocations: 19.91 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3229, allocations: 4 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.3229, allocations: 4 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.323, allocations: 19.94 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.323, allocations: 15.92 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3232, allocations: 51.8 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3232, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3232, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3232, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 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.0006912/0.3239, allocations: 363.3 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.324, allocations: 8.031 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.324, allocations: 12.92 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3243, allocations: 172.2 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3243, allocations: 4.375 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3243, allocations: 8.375 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3245, allocations: 57.98 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3245, allocations: 4 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3245, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3245, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.3246, allocations: 39.84 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.3253, allocations: 296.8 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3254, allocations: 50.61 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.3255, allocations: 24.94 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3255, allocations: 8 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.3257, allocations: 79.28 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3257, allocations: 0 / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.000288/0.326, allocations: 93.62 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3261, allocations: 55.39 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.3262, allocations: 101.9 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3262, allocations: 29.7 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3263, allocations: 96.02 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3264, allocations: 19.75 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.3265, allocations: 33.7 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3266, allocations: 322.7 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.3267, allocations: 23.92 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3268, allocations: 43.42 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3269, allocations: 63.38 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.327, allocations: 4 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001933/0.3272, allocations: 93.52 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3272, allocations: 4 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3272, allocations: 4.062 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3272, allocations: 4 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.3273, allocations: 15.92 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3273, allocations: 4 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.3274, allocations: 8 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3275, allocations: 4 kB / 0.9553 GB, free: 3.5 MB / 0.7325 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.0001143/0.3276, allocations: 121.8 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.3276, allocations: 8.266 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3277, allocations: 12.25 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3277, allocations: 0 / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3277, allocations: 0 / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3277, allocations: 7.922 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.3281, allocations: 350.5 kB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3281, allocations: 0 / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.3282, allocations: 11.94 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3282, allocations: 4 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3282, allocations: 7.984 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3282, allocations: 3.938 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3282, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3284, allocations: 175.4 kB / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.3285, allocations: 92.94 kB / 0.956 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3285, allocations: 4 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.3286, allocations: 11.94 kB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3286, allocations: 7.984 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3286, allocations: 3.938 kB / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.3287, allocations: 87.27 kB / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3287, allocations: 0 / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000235/0.3289, allocations: 16 kB / 0.9562 GB, free: 2.484 MB / 0.7325 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.0001222/0.329, allocations: 95.25 kB / 0.9562 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.3292, allocations: 59.92 kB / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3292, allocations: 0 / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.3293, allocations: 31.91 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3295, allocations: 16.3 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3299, allocations: 145.4 kB / 0.9565 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3302, allocations: 0.6883 MB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.3302, allocations: 4 kB / 0.9572 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3302, allocations: 15.5 kB / 0.9572 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.3302, allocations: 0 / 0.9572 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.002843/0.3331, allocations: 0.7779 MB / 0.9579 GB, free: 0.6133 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches