Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001862/0.001862, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.77 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2824, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001957/0.2844, allocations: 0.7987 MB / 1.018 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2865, allocations: 1.262 MB / 1.019 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.2866, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.2866, allocations: 0 / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2868, allocations: 19.84 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.2877, allocations: 225 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.288, allocations: 259.6 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2882, allocations: 32.14 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2883, allocations: 95.86 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2885, allocations: 79.77 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.2885, allocations: 20 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2887, allocations: 39.98 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.2887, allocations: 31.89 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.2889, allocations: 95.73 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.2891, allocations: 159.9 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2892, allocations: 4 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2892, allocations: 0 / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2892, allocations: 0 / 1.021 GB, free: 7.863 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008986/0.2901, allocations: 0.4907 MB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2901, allocations: 12.88 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.393e-05/0.2902, allocations: 20.78 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007792/0.291, allocations: 256.2 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.2911, allocations: 16.38 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.2912, allocations: 28.3 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.2915, allocations: 135.7 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2915, allocations: 7.875 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.2916, allocations: 4 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2916, allocations: 0 / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2917, allocations: 59.95 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.2927, allocations: 0.5162 MB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.2931, allocations: 157.2 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2932, allocations: 65.72 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.2933, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.2937, allocations: 206.3 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 4.469e-06/0.2937, allocations: 3.984 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=22): time 0.0007743/0.2945, allocations: 317.3 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2946, allocations: 85.05 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2947, allocations: 133.9 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.2948, allocations: 37.7 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.2949, allocations: 96.69 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.295, allocations: 47.41 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.2951, allocations: 77.69 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2953, allocations: 330.8 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.2956, allocations: 80.23 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.2959, allocations: 152.2 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.2963, allocations: 250.5 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2963, allocations: 7.938 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008135/0.2972, allocations: 356.6 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.2973, allocations: 59.41 kB / 1.024 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.2973, allocations: 4 kB / 1.024 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2973, allocations: 7.938 kB / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2975, allocations: 23.92 kB / 1.024 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2975, allocations: 7.938 kB / 1.024 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.298, allocations: 71.98 kB / 1.024 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.298, allocations: 16 kB / 1.024 GB, free: 3.422 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.000203/0.2983, allocations: 144 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.2983, allocations: 11.91 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.2984, allocations: 20.48 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2984, allocations: 4 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2984, allocations: 3.938 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2984, allocations: 0 / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.2993, allocations: 0.6108 MB / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2993, allocations: 0 / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.2994, allocations: 11.98 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2994, allocations: 7.938 kB / 1.025 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.2995, allocations: 11.98 kB / 1.025 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2995, allocations: 3.938 kB / 1.025 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2995, allocations: 4 kB / 1.025 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.3001, allocations: 416.1 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3001, allocations: 92.86 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.3002, allocations: 11.94 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3004, allocations: 15.98 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.3005, allocations: 27.95 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3006, allocations: 12 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.057e-05/0.3007, allocations: 95.27 kB / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.695e-06/0.3007, allocations: 96 / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005538/0.3012, allocations: 67.86 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002317/0.3015, allocations: 111.2 kB / 1.026 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.3022, allocations: 358.5 kB / 1.026 GB, free: 1.277 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3022, allocations: 0 / 1.026 GB, free: 1.277 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.3024, allocations: 122.6 kB / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.303, allocations: 27.92 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.3038, allocations: 330.6 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3041, allocations: 0.7125 MB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.3042, allocations: 19.44 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.3042, allocations: 0 / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of Templates: time 0.005394/0.3096, allocations: 2.255 MB / 1.03 GB, free: 13.77 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time