Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001374/0.001374, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001519/0.001519, allocations: 185 kB / 24.09 MB, free: 412 kB / 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 0.9947/0.9947, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.805e-05, allocations: 2.312 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00135/0.001368, allocations: 0.7688 MB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.002931, allocations: 1.291 MB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.002984, allocations: 5.562 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.003018, allocations: 11.86 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.003093, allocations: 19.8 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.003548, allocations: 248.9 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.003755, allocations: 261 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003864, allocations: 37.27 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.004006, allocations: 147.8 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.004126, allocations: 85.47 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.004156, allocations: 24 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.004222, allocations: 31.92 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.004254, allocations: 37.11 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.004315, allocations: 75.86 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.004516, allocations: 187.4 kB / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004519, allocations: 0 / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00452, allocations: 1.875 kB / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004524, allocations: 0 / 0.8152 GB, free: 14.24 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005061/0.00503, allocations: 0.5113 MB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.005081, allocations: 12.03 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.005146, allocations: 31.34 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.005337, allocations: 172.3 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.005353, allocations: 16.36 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.005381, allocations: 24.36 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.005521, allocations: 98.17 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005532, allocations: 192 / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.005546, allocations: 12.36 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005552, allocations: 1.094 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.005603, allocations: 39.91 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.006037, allocations: 397.9 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.00614, allocations: 71.02 kB / 0.8165 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.006167, allocations: 31.67 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.006172, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.006335, allocations: 122.8 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.006337, allocations: 3.938 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002843/0.006622, allocations: 206.6 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.00667, allocations: 59.39 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006786, allocations: 201 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.006813, allocations: 34.86 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.006898, allocations: 163.2 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.006916, allocations: 31.73 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.006997, allocations: 79.98 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.007134, allocations: 0.4962 MB / 0.8179 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.007219, allocations: 108 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.007338, allocations: 196.5 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.007484, allocations: 218.6 kB / 0.8184 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.007488, allocations: 4 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002876/0.007775, allocations: 338.5 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.007822, allocations: 70.2 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.007829, allocations: 4 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.007841, allocations: 5.906 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.007863, allocations: 15.92 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.007868, allocations: 3.938 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.008033, allocations: 44.36 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.008055, allocations: 20.48 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 9.742e-05/0.008153, allocations: 178.4 kB / 0.819 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.008172, allocations: 23.91 kB / 0.819 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.008201, allocations: 13.48 kB / 0.8191 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008204, allocations: 4.656 kB / 0.8191 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.008206, allocations: 0 / 0.8191 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.008211, allocations: 7.625 kB / 0.8191 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.008509, allocations: 421.9 kB / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.008512, allocations: 0 / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.008519, allocations: 4 kB / 0.8195 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008521, allocations: 0 / 0.8195 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.008531, allocations: 7.984 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008532, allocations: 0 / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.008536, allocations: 7.938 kB / 0.8195 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.008732, allocations: 329.5 kB / 0.8198 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.008742, allocations: 11.84 kB / 0.8198 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.008755, allocations: 13.98 kB / 0.8198 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.008787, allocations: 3.938 kB / 0.8198 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.008821, allocations: 23.91 kB / 0.8199 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.008836, allocations: 4 kB / 0.8199 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.008883, allocations: 139.2 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.008883, allocations: 0.9375 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001898/0.009073, allocations: 47.98 kB / 0.82 GB, free: 8.844 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * 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.0001117/0.009184, allocations: 112.3 kB / 0.8201 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.009718, allocations: 313.2 kB / 0.8204 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.00972, allocations: 1.031 kB / 0.8204 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.009769, allocations: 58.11 kB / 0.8205 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.009979, allocations: 27.22 kB / 0.8205 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.01029, allocations: 250.8 kB / 0.8208 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.01033, allocations: 71.83 kB / 0.8208 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.01036, allocations: 18.97 kB / 0.8208 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01047, allocations: 110.2 kB / 0.821 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of SimCode: time 1.924e-06/0.01047, allocations: 0 / 0.821 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of Templates: time 0.00435/0.01482, allocations: 2.478 MB / 0.8234 GB, free: 5.387 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.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.094218369107693]