Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001103/0.001103, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001049/0.001049, allocations: 189 kB / 17.3 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.48 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002668/0.3138, allocations: 1.482 MB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006738/0.3145, allocations: 448.4 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.3146, allocations: 3.938 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.3146, allocations: 4 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.3147, allocations: 11.86 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.3148, allocations: 19.98 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.3149, allocations: 55.78 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.315, allocations: 15.98 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.3151, allocations: 19.92 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.3152, allocations: 23.92 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3152, allocations: 4 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.3152, allocations: 4 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.3152, allocations: 7.984 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.3153, allocations: 27.86 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.3154, allocations: 43.81 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3154, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3154, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.3154, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.795 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.0004588/0.3159, allocations: 363.4 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3159, allocations: 12.03 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.3159, allocations: 8.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3161, allocations: 172.2 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3161, allocations: 12.31 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3161, allocations: 4.375 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.3162, allocations: 57.94 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3162, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3162, allocations: 7.984 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3162, allocations: 4 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.3163, allocations: 23.98 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3167, allocations: 296.7 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3169, allocations: 54.56 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.3169, allocations: 32.94 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3169, allocations: 0 / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.3171, allocations: 75.33 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3171, allocations: 0 / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.000208/0.3173, allocations: 97.61 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.3173, allocations: 55.41 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.3174, allocations: 105.8 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3174, allocations: 33.7 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.3175, allocations: 92.03 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3175, allocations: 23.64 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.3175, allocations: 25.72 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.3176, allocations: 326.8 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.3177, allocations: 12 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/0.3177, allocations: 47.42 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.3178, allocations: 71.53 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3179, allocations: 4 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001333/0.318, allocations: 89.61 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.318, allocations: 4 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.318, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.318, allocations: 4 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.3181, allocations: 15.88 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3181, allocations: 4.031 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.3182, allocations: 15.89 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3182, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 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 7.989e-05/0.3183, allocations: 118.4 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.3183, allocations: 4.062 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.3183, allocations: 12.34 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3184, allocations: 7.984 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3184, allocations: 3.938 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3184, allocations: 4 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.3187, allocations: 362.3 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3187, allocations: 0 / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.3188, allocations: 8 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3188, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3188, allocations: 4 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3188, allocations: 3.938 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3188, allocations: 0 / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.319, allocations: 183.5 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.319, allocations: 84.95 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.319, allocations: 7.984 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.3191, allocations: 3.938 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3192, allocations: 11.98 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.3192, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.3192, allocations: 79.28 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3192, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002327/0.3195, allocations: 20 kB / 1.024 GB, free: 4.355 MB / 0.795 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.256e-05/0.3196, allocations: 99.47 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3197, allocations: 59.84 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3197, allocations: 0 / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.3198, allocations: 27.98 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.32, allocations: 8.375 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.3203, allocations: 149.5 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3205, allocations: 0.6867 MB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3206, allocations: 7.938 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.3206, allocations: 11.44 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of SimCode: time 1.443e-06/0.3206, allocations: 0 / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of Templates: time 0.002787/0.3234, allocations: 0.7781 MB / 1.026 GB, free: 2.477 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches