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.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.001949/0.001949, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002551/0.002551, allocations: 192.4 kB / 22.1 MB, free: 4.227 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.63/1.63, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.058/3.058, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002133/0.002133, allocations: 63.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001627/1.168, allocations: 0.661 MB / 1.307 GB, free: 33.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001148/1.169, allocations: 1.196 MB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/1.17, allocations: 2.844 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/1.17, allocations: 3.938 kB / 1.309 GB, free: 32.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/1.17, allocations: 19.17 kB / 1.309 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/1.17, allocations: 216.7 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/1.17, allocations: 169.9 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/1.17, allocations: 14.44 kB / 1.309 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/1.171, allocations: 66.34 kB / 1.309 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/1.171, allocations: 65.03 kB / 1.309 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/1.171, allocations: 13.53 kB / 1.309 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/1.171, allocations: 30.39 kB / 1.309 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/1.171, allocations: 10.38 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/1.171, allocations: 58.83 kB / 1.309 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/1.171, allocations: 153.1 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.171, allocations: 0 / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/1.171, allocations: 0 / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.88e-06/1.171, allocations: 0 / 1.309 GB, free: 32.12 MB / 1.061 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.0004206/1.171, allocations: 363.6 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/1.171, allocations: 8.625 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/1.172, allocations: 10.27 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/1.172, allocations: 123.4 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.172, allocations: 3.031 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/1.172, allocations: 13.31 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/1.172, allocations: 48.91 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.172, allocations: 192 / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.172, allocations: 3.938 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/1.172, allocations: 4 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/1.172, allocations: 19 kB / 1.31 GB, free: 31.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/1.172, allocations: 324.4 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/1.172, allocations: 38.36 kB / 1.31 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/1.172, allocations: 14.58 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/1.172, allocations: 0 / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/1.172, allocations: 84.39 kB / 1.31 GB, free: 31.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.172, allocations: 0 / 1.31 GB, free: 31.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002261/1.173, allocations: 103.8 kB / 1.31 GB, free: 31.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/1.173, allocations: 55.41 kB / 1.311 GB, free: 31.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/1.173, allocations: 118.6 kB / 1.311 GB, free: 30.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/1.173, allocations: 36.64 kB / 1.311 GB, free: 30.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/1.173, allocations: 97.58 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/1.173, allocations: 17.98 kB / 1.311 GB, free: 30.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/1.173, allocations: 46.75 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.29e-05/1.173, allocations: 325 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/1.173, allocations: 58.44 kB / 1.311 GB, free: 30.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.173, allocations: 94.03 kB / 1.311 GB, free: 30.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/1.173, allocations: 163.3 kB / 1.311 GB, free: 30.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.173, allocations: 0 / 1.311 GB, free: 30.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003577/1.174, allocations: 261.5 kB / 1.312 GB, free: 30.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/1.174, allocations: 67.5 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.174, allocations: 0 / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.174, allocations: 6.906 kB / 1.312 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.227e-05/1.174, allocations: 10.91 kB / 1.312 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.174, allocations: 0 / 1.312 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/1.174, allocations: 58.52 kB / 1.312 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.174, allocations: 11.78 kB / 1.312 GB, free: 30.03 MB / 1.061 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 7.208e-05/1.174, allocations: 130.4 kB / 1.312 GB, free: 29.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/1.174, allocations: 14.25 kB / 1.312 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/1.174, allocations: 8.375 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.174, allocations: 2.906 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.174, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.174, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.796e-05/1.174, allocations: 154.4 kB / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/1.174, allocations: 0 / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-06/1.174, allocations: 3.031 kB / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/1.174, allocations: 0 / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/1.174, allocations: 3.938 kB / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.174, allocations: 7.328 kB / 1.312 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.174, allocations: 320 / 1.312 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/1.175, allocations: 116.6 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/1.175, allocations: 2.562 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/1.175, allocations: 0 / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/1.175, allocations: 2.625 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/1.175, allocations: 9.953 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/1.175, allocations: 2.656 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.414e-05/1.175, allocations: 96.44 kB / 1.312 GB, free: 29.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 2.438 kB / 1.312 GB, free: 29.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002279/1.175, allocations: 29.23 kB / 1.312 GB, free: 29.52 MB / 1.061 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.000105/1.175, allocations: 108.8 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002753/1.175, allocations: 218.7 kB / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.175, allocations: 2.406 kB / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/1.175, allocations: 24.62 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.176, allocations: 23.84 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/1.176, allocations: 155.6 kB / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.549e-05/1.176, allocations: 0.6855 MB / 1.314 GB, free: 28.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.345e-05/1.176, allocations: 5.094 kB / 1.314 GB, free: 28.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/1.176, allocations: 17.3 kB / 1.314 GB, free: 28.4 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/1.176, allocations: 4 kB / 1.314 GB, free: 28.4 MB / 1.061 GB Notification: Performance of Templates: time 0.004231/1.18, allocations: 1.872 MB / 1.315 GB, free: 28.21 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] 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: 10.016723760403693]