Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.229/2.229, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.737e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002222/0.00226, allocations: 0.7482 MB / 0.8789 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004144, allocations: 1.31 MB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.004225, allocations: 0.7188 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.004266, allocations: 11.86 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.004374, allocations: 21.77 kB / 0.8802 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.005143, allocations: 235.9 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.005486, allocations: 256.3 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.005615, allocations: 21.23 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.00584, allocations: 135.9 kB / 0.8809 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.006014, allocations: 79.78 kB / 0.8809 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.006063, allocations: 24.66 kB / 0.881 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.006156, allocations: 35.94 kB / 0.881 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.006199, allocations: 33.08 kB / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.006314, allocations: 83.84 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.006624, allocations: 179.6 kB / 0.8813 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.006629, allocations: 1 kB / 0.8813 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.944e-06/0.006631, allocations: 4 kB / 0.8813 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.006636, allocations: 0 / 0.8813 GB, free: 3.453 MB / 0.8386 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.0007977/0.007434, allocations: 0.5201 MB / 0.8818 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.00748, allocations: 8.031 kB / 0.8818 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.007589, allocations: 30 kB / 0.8818 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.0081, allocations: 201.9 kB / 0.882 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.008134, allocations: 12.36 kB / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.008179, allocations: 23.78 kB / 0.8821 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.01148, allocations: 142 kB / 0.8822 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01149, allocations: 192 / 0.8822 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.01151, allocations: 8.312 kB / 0.8822 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01152, allocations: 4.125 kB / 0.8822 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.01161, allocations: 51.94 kB / 0.8822 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.01223, allocations: 0.5075 MB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.0125, allocations: 142.1 kB / 0.8829 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.01258, allocations: 49.06 kB / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.0126, allocations: 11.92 kB / 0.8829 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.01293, allocations: 203.5 kB / 0.8831 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/0.01293, allocations: 4 kB / 0.8831 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0005999/0.01353, allocations: 297.3 kB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.0136, allocations: 89.09 kB / 0.8835 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01373, allocations: 185.8 kB / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.01378, allocations: 37.7 kB / 0.8837 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.01387, allocations: 143.3 kB / 0.8839 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.01393, allocations: 51.69 kB / 0.8839 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.01405, allocations: 79.33 kB / 0.884 GB, free: 464 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.01422, allocations: 0.4961 MB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.01443, allocations: 135.6 kB / 0.8846 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.01465, allocations: 233 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.01494, allocations: 248.1 kB / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01494, allocations: 0 / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005892/0.01553, allocations: 412.2 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.01559, allocations: 67.39 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.0156, allocations: 0 / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.01562, allocations: 4 kB / 0.8855 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.01573, allocations: 31.92 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.01575, allocations: 7.938 kB / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.016, allocations: 55.84 kB / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.01603, allocations: 16.16 kB / 0.8856 GB, free: 14.61 MB / 0.8542 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.0001527/0.01618, allocations: 198.4 kB / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.01623, allocations: 35.83 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.01628, allocations: 12.44 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01629, allocations: 4 kB / 0.8859 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01629, allocations: 0 / 0.8859 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.0163, allocations: 3.984 kB / 0.8859 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.0169, allocations: 0.6254 MB / 0.8865 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0169, allocations: 4 kB / 0.8865 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.01695, allocations: 7.938 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.01695, allocations: 4 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.01697, allocations: 7.984 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01697, allocations: 4 kB / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01698, allocations: 0 / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.01743, allocations: 0.5105 MB / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01745, allocations: 11.95 kB / 0.887 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.01749, allocations: 8 kB / 0.887 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01763, allocations: 7.984 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.01771, allocations: 23.95 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.01773, allocations: 19.98 kB / 0.8871 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.0178, allocations: 135.2 kB / 0.8872 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0178, allocations: 4 kB / 0.8872 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004313/0.01823, allocations: 59.86 kB / 0.8873 GB, free: 12.86 MB / 0.8542 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.0002099/0.01844, allocations: 111.2 kB / 0.8874 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.01893, allocations: 368.9 kB / 0.8877 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.01894, allocations: 4.438 kB / 0.8877 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.01908, allocations: 91.56 kB / 0.8878 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.01952, allocations: 31.97 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.02008, allocations: 273.8 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.609e-05/0.02015, allocations: 75.84 kB / 0.8882 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.02022, allocations: 17.48 kB / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.02027, allocations: 20.5 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of SimCode: time 1.343e-06/0.02027, allocations: 0 / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.006629/0.0269, allocations: 2.916 MB / 0.8911 GB, free: 8.93 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.763530435040593]