Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 76.09 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8435, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001924/0.8455, allocations: 0.651 MB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.847, allocations: 1.201 MB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.8471, allocations: 0 / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.8471, allocations: 3.938 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.8472, allocations: 15.88 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.8479, allocations: 215.4 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.8481, allocations: 179.6 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.8482, allocations: 8 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.8483, allocations: 63.95 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.8485, allocations: 67.78 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.8485, allocations: 12 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.553e-05/0.8486, allocations: 31.98 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.8486, allocations: 3.984 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.8487, allocations: 59.83 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.8489, allocations: 162.2 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.8489, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8489, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.8489, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 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.0005746/0.8495, allocations: 442.6 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.8495, allocations: 8.031 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.8496, allocations: 16.88 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.8497, allocations: 160.4 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.8497, allocations: 8.375 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.8498, allocations: 8.375 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.8499, allocations: 54.22 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8499, allocations: 192 / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8499, allocations: 3.938 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8499, allocations: 8 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.8499, allocations: 11.94 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.8504, allocations: 352.7 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.8505, allocations: 38.5 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.8506, allocations: 16.8 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.8506, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.8507, allocations: 96.94 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.8507, allocations: 0 / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002455/0.851, allocations: 101.6 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.851, allocations: 55.41 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.8512, allocations: 117.8 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.8512, allocations: 29.7 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.8513, allocations: 96.08 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.8513, allocations: 19.91 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.8514, allocations: 45.69 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8516, allocations: 326.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.8517, allocations: 55.97 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.8519, allocations: 92.27 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.8521, allocations: 159.6 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8521, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004586/0.8526, allocations: 269.3 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.8526, allocations: 67.39 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8526, allocations: 128 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8526, allocations: 8 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.019e-05/0.8527, allocations: 7.875 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.8527, allocations: 7.938 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.853, allocations: 55.83 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.8531, allocations: 15.98 kB / 1.279 GB, free: 14.77 MB / 0.9825 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.0001131/0.8532, allocations: 129.1 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.8532, allocations: 7.953 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.8532, allocations: 12.36 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.8532, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8532, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8532, allocations: 4 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.8534, allocations: 169.6 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8534, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.8534, allocations: 11.92 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8534, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8534, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8534, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8534, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.8536, allocations: 117.3 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.8536, allocations: 81.11 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.8536, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.8536, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.8537, allocations: 11.98 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.8537, allocations: 4 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.8538, allocations: 95.27 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8538, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002374/0.854, allocations: 24 kB / 1.28 GB, free: 14.01 MB / 0.9825 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.0001581/0.8541, allocations: 111.2 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.8545, allocations: 218.7 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8545, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.8546, allocations: 20.23 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.8548, allocations: 29.73 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.8552, allocations: 174.5 kB / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.8555, allocations: 0.6846 MB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.8555, allocations: 4 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.8555, allocations: 11.44 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8555, allocations: 11.88 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of Templates: time 0.004749/0.8603, allocations: 1.849 MB / 1.283 GB, free: 10.85 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.817848354578018]