Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001566/0.001566, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.002002/0.002002, allocations: 196 kB / 17.31 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 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.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.56 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002305/0.2785, allocations: 0.7509 MB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2804, allocations: 1.259 MB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.2805, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2806, allocations: 7.875 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2807, allocations: 23.84 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.2816, allocations: 239.2 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.2819, allocations: 271.5 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2821, allocations: 16.23 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2822, allocations: 95.86 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.2824, allocations: 99.67 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.2824, allocations: 20 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.2825, allocations: 43.92 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.2826, allocations: 31.95 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2827, allocations: 95.73 kB / 0.954 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.283, allocations: 219.3 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.283, allocations: 11.94 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2831, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2831, allocations: 0 / 0.9542 GB, free: 4.855 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007755/0.2838, allocations: 498.5 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2839, allocations: 8.031 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.284, allocations: 20.83 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.2845, allocations: 256.2 kB / 0.955 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.2846, allocations: 12.38 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.2846, allocations: 24.36 kB / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2849, allocations: 131.4 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2849, allocations: 3.938 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2849, allocations: 11.98 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2849, allocations: 0 / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2851, allocations: 63.89 kB / 0.9552 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.2859, allocations: 0.5046 MB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2861, allocations: 161.2 kB / 0.9559 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2863, allocations: 61.69 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2863, allocations: 4 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.2867, allocations: 211 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.2867, allocations: 3.938 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22): time 0.0005911/0.2873, allocations: 309.4 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.2874, allocations: 92.97 kB / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2875, allocations: 133.9 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2875, allocations: 41.7 kB / 0.9567 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.2876, allocations: 92.7 kB / 0.9568 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.2877, allocations: 47.41 kB / 0.9568 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.2878, allocations: 77.67 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.288, allocations: 326.8 kB / 0.9572 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.2881, allocations: 84.22 kB / 0.9573 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.2884, allocations: 156.2 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.2889, allocations: 250.7 kB / 0.9577 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2889, allocations: 0 / 0.9577 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008947/0.2898, allocations: 360.6 kB / 0.958 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.2899, allocations: 63.39 kB / 0.9581 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2899, allocations: 4 kB / 0.9581 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2899, allocations: 8.219 kB / 0.9581 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.29, allocations: 23.92 kB / 0.9581 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.29, allocations: 7.938 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.2904, allocations: 63.78 kB / 0.9582 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.2904, allocations: 19.98 kB / 0.9582 GB, free: 444 kB / 0.7325 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.0001385/0.2906, allocations: 151.9 kB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.2906, allocations: 11.91 kB / 0.9583 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2907, allocations: 12.5 kB / 0.9584 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2907, allocations: 4 kB / 0.9584 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2907, allocations: 3.938 kB / 0.9584 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2907, allocations: 3.984 kB / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.2913, allocations: 0.6147 MB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2913, allocations: 4 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.2914, allocations: 11.98 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2914, allocations: 3.938 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2914, allocations: 8 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2914, allocations: 3.984 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2914, allocations: 4 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.2918, allocations: 414.5 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.292, allocations: 96.94 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.292, allocations: 15.88 kB / 0.9595 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2922, allocations: 11.98 kB / 0.9595 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.2922, allocations: 19.97 kB / 0.9595 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.2923, allocations: 19.98 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.2923, allocations: 94.89 kB / 0.9596 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2923, allocations: 0 / 0.9596 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000361/0.2927, allocations: 63.98 kB / 0.9597 GB, free: 14.78 MB / 0.7481 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.0002074/0.2929, allocations: 119.2 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.2935, allocations: 346.6 kB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2936, allocations: 0 / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.2937, allocations: 107.9 kB / 0.9603 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2941, allocations: 38.28 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.2948, allocations: 280.5 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2951, allocations: 0.7085 MB / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.2951, allocations: 17.55 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.2952, allocations: 23.44 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2952, allocations: 0 / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of Templates: time 0.005673/0.3009, allocations: 2.675 MB / 0.9639 GB, free: 10.41 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches