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.001441/0.001441, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001629/0.001629, allocations: 166.2 kB / 24.86 MB, free: 9.207 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.9797/0.9797, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.907/1.907, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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 1.984e-06/1.984e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.315e-05, allocations: 6.781 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001894/0.001927, allocations: 0.7726 MB / 0.8136 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003516, allocations: 1.292 MB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.003581, allocations: 4 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.003621, allocations: 12.64 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.003711, allocations: 17.48 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.004272, allocations: 256.8 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.004513, allocations: 255.6 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.004647, allocations: 33.28 kB / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.004824, allocations: 155.7 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005009, allocations: 85.48 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.005051, allocations: 20 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.005146, allocations: 37.16 kB / 0.8157 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.005192, allocations: 35.89 kB / 0.8157 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.005276, allocations: 67.88 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.005527, allocations: 193.2 kB / 0.8159 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005531, allocations: 0 / 0.8159 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.065e-06/0.005534, allocations: 0 / 0.8159 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.00554, allocations: 0 / 0.8159 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.0006157/0.006156, allocations: 0.5152 MB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.00619, allocations: 10.56 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.006249, allocations: 32.84 kB / 0.8165 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.00642, allocations: 160.4 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.006436, allocations: 12.38 kB / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.006465, allocations: 28.36 kB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.006586, allocations: 95.27 kB / 0.8168 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.006595, allocations: 4.125 kB / 0.8168 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.006608, allocations: 13.08 kB / 0.8168 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.006616, allocations: 4.906 kB / 0.8168 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.006664, allocations: 39.91 kB / 0.8168 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.00705, allocations: 393.5 kB / 0.8172 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/0.007149, allocations: 70.95 kB / 0.8173 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.007179, allocations: 31.67 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.007182, allocations: 0.6562 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.007327, allocations: 123.8 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.007329, allocations: 1.156 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002716/0.007601, allocations: 213.4 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.00764, allocations: 59.39 kB / 0.8177 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.007744, allocations: 199.1 kB / 0.8179 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.007769, allocations: 33.7 kB / 0.8179 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.007846, allocations: 159.2 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.007868, allocations: 39.72 kB / 0.8181 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.007944, allocations: 76.42 kB / 0.8182 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.008077, allocations: 0.4923 MB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.008165, allocations: 103.4 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.008283, allocations: 193.2 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.008432, allocations: 226.6 kB / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.008435, allocations: 0 / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002993/0.008734, allocations: 339.3 kB / 0.8195 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.008785, allocations: 67.39 kB / 0.8195 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.008797, allocations: 4 kB / 0.8195 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.008812, allocations: 4 kB / 0.8195 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.008838, allocations: 15.92 kB / 0.8195 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.008844, allocations: 13.75 kB / 0.8196 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.009016, allocations: 43.86 kB / 0.8196 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.009037, allocations: 15.98 kB / 0.8196 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 0.000101/0.009138, allocations: 182.1 kB / 0.8198 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.009161, allocations: 25.25 kB / 0.8198 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.009191, allocations: 12.77 kB / 0.8198 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.009195, allocations: 4 kB / 0.8198 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.009197, allocations: 0.7188 kB / 0.8198 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.009202, allocations: 3.938 kB / 0.8198 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.009491, allocations: 421.1 kB / 0.8202 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009493, allocations: 7.688 kB / 0.8202 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.009502, allocations: 3.938 kB / 0.8202 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009505, allocations: 0 / 0.8202 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.009514, allocations: 7.984 kB / 0.8203 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009515, allocations: 0 / 0.8203 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.00952, allocations: 7.938 kB / 0.8203 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.009705, allocations: 319.8 kB / 0.8206 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.009718, allocations: 19.83 kB / 0.8206 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.009745, allocations: 7.984 kB / 0.8206 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/0.00978, allocations: 4 kB / 0.8206 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.009814, allocations: 21.88 kB / 0.8206 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.009831, allocations: 4 kB / 0.8206 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.009879, allocations: 143.2 kB / 0.8208 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009879, allocations: 3.938 kB / 0.8208 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002025/0.01008, allocations: 43.98 kB / 0.8208 GB, free: 8.852 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.0001268/0.01021, allocations: 112.1 kB / 0.8209 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.01045, allocations: 318.3 kB / 0.8212 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01045, allocations: 0 / 0.8212 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.0105, allocations: 51.66 kB / 0.8213 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01073, allocations: 28.06 kB / 0.8213 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.01105, allocations: 252.2 kB / 0.8215 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.01109, allocations: 72.42 kB / 0.8216 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.01112, allocations: 14.55 kB / 0.8216 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.01124, allocations: 115.9 kB / 0.8217 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.01124, allocations: 0 / 0.8217 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.004037/0.01528, allocations: 2.54 MB / 0.8242 GB, free: 5.344 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.32365959091112]