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.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.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.001393/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001339/0.00134, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.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.51/2.51, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.606, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002762/0.6088, allocations: 1.545 MB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.6095, allocations: 454.9 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.6095, allocations: 3.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.6095, allocations: 3.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.6096, allocations: 3.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.6098, allocations: 15.98 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.6098, allocations: 47.84 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.61, allocations: 15.98 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.61, allocations: 19.92 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.6101, allocations: 23.86 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.6101, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.6101, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.6101, allocations: 11.98 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.6102, allocations: 27.86 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.83e-05/0.6103, allocations: 39.88 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6103, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6103, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.6103, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 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.0005303/0.6109, allocations: 365.4 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6109, allocations: 8.031 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.6109, allocations: 4.938 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.6111, allocations: 172.2 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6111, allocations: 8.375 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.6111, allocations: 4.375 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.6113, allocations: 58 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6113, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6113, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.6113, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.6114, allocations: 35.97 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.6119, allocations: 296.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.612, allocations: 54.59 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.6121, allocations: 24.91 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6121, allocations: 16.02 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.6123, allocations: 71.3 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.6123, allocations: 3.938 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002381/0.6125, allocations: 97.61 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.6126, allocations: 59.33 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.6126, allocations: 105.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.6127, allocations: 29.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.6127, allocations: 92.05 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.6127, allocations: 19.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.6128, allocations: 25.72 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6129, allocations: 322.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.613, allocations: 16 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.613, allocations: 47.36 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.6131, allocations: 67.42 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6131, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001374/0.6133, allocations: 93.52 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6133, allocations: 8.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.6133, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.6133, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.6134, allocations: 12.06 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6134, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.6135, allocations: 19.95 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.6135, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 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.355e-05/0.6136, allocations: 117.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.6136, allocations: 3.906 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.6136, allocations: 11.97 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6137, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6137, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6137, allocations: 3.984 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.6141, allocations: 366.7 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6141, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.6141, allocations: 4 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6141, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.6141, allocations: 4.312 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.6141, allocations: 11.81 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6141, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.6143, allocations: 183.5 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.6144, allocations: 89 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.6144, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.6145, allocations: 11.92 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.6145, allocations: 7.984 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.6145, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.6146, allocations: 79.28 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6146, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.6148, allocations: 16 kB / 1.022 GB, free: 13.21 MB / 0.7794 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.917e-05/0.6149, allocations: 107.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.615, allocations: 51.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.615, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.6151, allocations: 27.92 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.6154, allocations: 8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.6157, allocations: 159.4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.6159, allocations: 0.6824 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.6159, allocations: 11.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.616, allocations: 11.44 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.616, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002654/0.6186, allocations: 0.6861 MB / 1.023 GB, free: 11.41 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches