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.00108/0.00108, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009917/0.0009917, allocations: 161 kB / 23.81 MB, free: 0.7539 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 0.9947/0.9947, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.948/1.948, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.785e-06/2.785e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.135e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001292/0.001314, allocations: 0.7849 MB / 0.8123 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002578, allocations: 1.299 MB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.002627, allocations: 0 / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.002664, allocations: 8.906 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.002734, allocations: 19.8 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.00325, allocations: 253.7 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.003479, allocations: 255.6 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.003606, allocations: 37.28 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.00375, allocations: 154.2 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.003874, allocations: 79.73 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.003907, allocations: 24 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.003975, allocations: 35.98 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.004008, allocations: 36.36 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.004077, allocations: 77.39 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.004269, allocations: 183.4 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004271, allocations: 0 / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004272, allocations: 0 / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.004276, allocations: 0 / 0.8147 GB, free: 14.47 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.0004751/0.004751, allocations: 0.5126 MB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.004785, allocations: 8.031 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.004854, allocations: 34.2 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.005025, allocations: 156.4 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005041, allocations: 16.36 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.005069, allocations: 20.38 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.00522, allocations: 112.2 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.005228, allocations: 4.188 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.005241, allocations: 4.375 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.00525, allocations: 8.844 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.005322, allocations: 58.95 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.00573, allocations: 416.6 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.005849, allocations: 83.02 kB / 0.8161 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.005883, allocations: 36.47 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-06/0.005888, allocations: 0 / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.006037, allocations: 137.3 kB / 0.8163 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.006038, allocations: 0 / 0.8163 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003068/0.006344, allocations: 221.5 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.006382, allocations: 60.5 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.006477, allocations: 205 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.006499, allocations: 29.7 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.006563, allocations: 164.2 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.006582, allocations: 35.72 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.006651, allocations: 75.92 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.006752, allocations: 496.1 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.006856, allocations: 128.1 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.006985, allocations: 212.1 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.007144, allocations: 223.8 kB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.007147, allocations: 4.875 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003084/0.007455, allocations: 360.7 kB / 0.8184 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.007493, allocations: 71.39 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007498, allocations: 1 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.00751, allocations: 4 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.918e-05/0.00753, allocations: 15.22 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.007537, allocations: 7.984 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.007705, allocations: 47.86 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.007728, allocations: 23.92 kB / 0.8185 GB, free: 10.22 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,tru.y,fal.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 8.326e-05/0.007811, allocations: 169.7 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.00783, allocations: 28.39 kB / 0.8187 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.007857, allocations: 18.7 kB / 0.8187 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007859, allocations: 0 / 0.8187 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007864, allocations: 7.938 kB / 0.8188 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.007868, allocations: 0 / 0.8188 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.008154, allocations: 461.2 kB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008155, allocations: 0.9062 kB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.008161, allocations: 4 kB / 0.8192 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008163, allocations: 0.8438 kB / 0.8192 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.008173, allocations: 11.92 kB / 0.8192 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008174, allocations: 0 / 0.8192 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008175, allocations: 0.6562 kB / 0.8192 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.008373, allocations: 342 kB / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.008383, allocations: 15.84 kB / 0.8196 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.008398, allocations: 7.938 kB / 0.8196 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.008432, allocations: 7.984 kB / 0.8196 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.008466, allocations: 11.98 kB / 0.8196 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.008481, allocations: 11.98 kB / 0.8196 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.008526, allocations: 135.2 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008526, allocations: 3.062 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001861/0.008712, allocations: 44 kB / 0.8198 GB, free: 8.898 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.0001032/0.008815, allocations: 111.2 kB / 0.8199 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.00909, allocations: 330.6 kB / 0.8202 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.009091, allocations: 0 / 0.8202 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.009154, allocations: 75.38 kB / 0.8203 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009359, allocations: 25.38 kB / 0.8203 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.009684, allocations: 262.8 kB / 0.8205 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.009721, allocations: 68.91 kB / 0.8206 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.009748, allocations: 14.39 kB / 0.8206 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.00977, allocations: 12.5 kB / 0.8206 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.00977, allocations: 1.656 kB / 0.8206 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of Templates: time 0.003908/0.01368, allocations: 2.492 MB / 0.8231 GB, free: 5.496 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.109573411755264]