Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001846/0.001846, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.001915/0.001915, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.734/1.734, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.998/2.998, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.54e-05, allocations: 8.375 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001866/0.001901, allocations: 0.6562 MB / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.003726, allocations: 1.21 MB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.003786, allocations: 4 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.003816, allocations: 4.719 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.003922, allocations: 7.922 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.004933, allocations: 209.2 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.005229, allocations: 177.2 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.005325, allocations: 11.98 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.005497, allocations: 91.92 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.005634, allocations: 53.03 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.005685, allocations: 16 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.00577, allocations: 23.98 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.005795, allocations: 9.594 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.005894, allocations: 55.88 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.00626, allocations: 183.5 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.006264, allocations: 3.938 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006266, allocations: 0.7188 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.006271, allocations: 0 / 0.8135 GB, free: 15.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000795/0.007066, allocations: 460.1 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.007123, allocations: 12.03 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.007209, allocations: 18.55 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.007352, allocations: 120.4 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.007377, allocations: 8.375 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.00741, allocations: 12.36 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.00758, allocations: 46.91 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007592, allocations: 192 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.007605, allocations: 1.312 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.007609, allocations: 384 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.007681, allocations: 19.92 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.008275, allocations: 332.8 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.008374, allocations: 43.06 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.008411, allocations: 17.14 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.008423, allocations: 0 / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.008575, allocations: 88.97 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008576, allocations: 1.75 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003589/0.008935, allocations: 117.5 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.00899, allocations: 55.41 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.009151, allocations: 189.9 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.009184, allocations: 29.7 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.009288, allocations: 137.4 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.009313, allocations: 23.83 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.009432, allocations: 59.34 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002884/0.00972, allocations: 0.4884 MB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.01003, allocations: 135.4 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.01033, allocations: 185.7 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.01058, allocations: 183.5 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01058, allocations: 0 / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006149/0.0112, allocations: 369.3 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.01131, allocations: 65.11 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.01132, allocations: 0 / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.01134, allocations: 7.938 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.01138, allocations: 7.984 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.0114, allocations: 10.53 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.01172, allocations: 31.97 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.01177, allocations: 11.98 kB / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001726/0.01194, allocations: 164.6 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.01198, allocations: 21.02 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.01202, allocations: 8.422 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01202, allocations: 0 / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.01203, allocations: 0.8125 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.01204, allocations: 4 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.01222, allocations: 125.2 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.01223, allocations: 4.062 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.01225, allocations: 8.844 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01225, allocations: 3.984 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01227, allocations: 9.984 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01227, allocations: 0 / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01227, allocations: 4 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01255, allocations: 124.3 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01257, allocations: 7.891 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.0126, allocations: 12.5 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.01261, allocations: 0 / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.01269, allocations: 9.016 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.0127, allocations: 0 / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001134/0.01281, allocations: 139.2 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01281, allocations: 1.094 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002581/0.01307, allocations: 28 kB / 0.8173 GB, free: 11.11 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002454/0.01331, allocations: 104.3 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005733/0.01389, allocations: 334.9 kB / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01389, allocations: 0 / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.01396, allocations: 36.39 kB / 0.8177 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01422, allocations: 18.67 kB / 0.8177 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.01474, allocations: 166.7 kB / 0.8179 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.853e-05/0.01483, allocations: 72.67 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.01485, allocations: 7.938 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.01489, allocations: 12.5 kB / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.01489, allocations: 0.75 kB / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.006082/0.02097, allocations: 2.051 MB / 0.82 GB, free: 8.289 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.365074966917746]