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.001073/0.001073, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001035/0.001035, allocations: 169 kB / 24.28 MB, free: 268 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.9695/0.9695, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.911/1.911, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.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 1.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.835e-05, allocations: 3.078 kB / 0.8115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001401/0.001419, allocations: 0.655 MB / 0.8122 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.002815, allocations: 1.238 MB / 0.8134 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.002863, allocations: 0 / 0.8134 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.002889, allocations: 0 / 0.8134 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.002964, allocations: 20.69 kB / 0.8134 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.003538, allocations: 217.6 kB / 0.8136 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.003748, allocations: 171.7 kB / 0.8138 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.003833, allocations: 4.656 kB / 0.8138 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.003961, allocations: 99.86 kB / 0.8139 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004071, allocations: 48.73 kB / 0.8139 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.004101, allocations: 12 kB / 0.8139 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.004167, allocations: 37.16 kB / 0.814 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.004188, allocations: 11.92 kB / 0.814 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.004258, allocations: 47.95 kB / 0.814 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004448, allocations: 137.1 kB / 0.8142 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00445, allocations: 0 / 0.8142 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.42e-07/0.00445, allocations: 0 / 0.8142 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004454, allocations: 0 / 0.8142 GB, free: 14.24 MB / 0.7292 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.0004432/0.004897, allocations: 461.1 kB / 0.8146 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.004935, allocations: 8.031 kB / 0.8146 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.005001, allocations: 16.89 kB / 0.8146 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.005098, allocations: 116.5 kB / 0.8147 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.005117, allocations: 17.64 kB / 0.8147 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.005143, allocations: 8.375 kB / 0.8148 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.005237, allocations: 42.25 kB / 0.8148 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005245, allocations: 192 / 0.8148 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.005255, allocations: 0.9375 kB / 0.8148 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.005263, allocations: 384 / 0.8148 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.005291, allocations: 17.08 kB / 0.8148 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.00569, allocations: 323.7 kB / 0.8151 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.00576, allocations: 35.62 kB / 0.8152 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.005785, allocations: 20.39 kB / 0.8152 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.005792, allocations: 4 kB / 0.8152 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.005904, allocations: 90.3 kB / 0.8153 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.005905, allocations: 0 / 0.8153 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002212/0.006127, allocations: 97.55 kB / 0.8154 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.006167, allocations: 60.02 kB / 0.8154 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.006268, allocations: 173.9 kB / 0.8156 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.006295, allocations: 30.77 kB / 0.8156 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.006357, allocations: 138.8 kB / 0.8157 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.006375, allocations: 23.83 kB / 0.8158 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.006454, allocations: 52.09 kB / 0.8158 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.006578, allocations: 0.4884 MB / 0.8163 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.006712, allocations: 112.1 kB / 0.8164 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.006857, allocations: 161.7 kB / 0.8166 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.007011, allocations: 168.8 kB / 0.8167 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.007014, allocations: 4 kB / 0.8167 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003662/0.00738, allocations: 320.2 kB / 0.817 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.007421, allocations: 69.7 kB / 0.8171 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.007427, allocations: 4 kB / 0.8171 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.007441, allocations: 3.984 kB / 0.8171 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-05/0.007459, allocations: 4 kB / 0.8171 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.007464, allocations: 0 / 0.8171 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.007656, allocations: 35.41 kB / 0.8171 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.00768, allocations: 15.98 kB / 0.8172 GB, free: 10.85 MB / 0.7292 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 8.624e-05/0.007766, allocations: 168.5 kB / 0.8173 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.007785, allocations: 19.88 kB / 0.8173 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.00781, allocations: 4.438 kB / 0.8173 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.007813, allocations: 0 / 0.8173 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.007817, allocations: 4 kB / 0.8173 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.007821, allocations: 0.7812 kB / 0.8173 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.007912, allocations: 128.6 kB / 0.8175 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007913, allocations: 0.5 kB / 0.8175 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-06/0.007919, allocations: 4.562 kB / 0.8175 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.00792, allocations: 0 / 0.8175 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.007929, allocations: 8.484 kB / 0.8175 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.00793, allocations: 1.312 kB / 0.8175 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.007931, allocations: 0 / 0.8175 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.008053, allocations: 120.3 kB / 0.8176 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.008059, allocations: 7.938 kB / 0.8176 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.008072, allocations: 4.562 kB / 0.8176 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.008089, allocations: 4 kB / 0.8176 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.008123, allocations: 8.578 kB / 0.8176 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.008129, allocations: 6 kB / 0.8176 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.008174, allocations: 131.6 kB / 0.8177 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008174, allocations: 0 / 0.8177 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002307/0.008404, allocations: 35.89 kB / 0.8178 GB, free: 10.14 MB / 0.7292 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.0001084/0.008513, allocations: 104 kB / 0.8179 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.0088, allocations: 278.7 kB / 0.8181 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008801, allocations: 0 / 0.8181 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.008839, allocations: 32.95 kB / 0.8182 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.009034, allocations: 21.17 kB / 0.8182 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.0093, allocations: 150.8 kB / 0.8183 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.009334, allocations: 60.59 kB / 0.8184 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.009357, allocations: 7.984 kB / 0.8184 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.009377, allocations: 16.5 kB / 0.8184 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.009378, allocations: 3.906 kB / 0.8184 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of Templates: time 0.003936/0.01331, allocations: 2.067 MB / 0.8204 GB, free: 7.398 MB / 0.7292 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","",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.20637160888873]