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.001637/0.001637, 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.001862/0.001862, allocations: 195.3 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.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.821/2.821, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.002088/0.002088, allocations: 67.91 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9667/0.9688, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002488/0.9713, allocations: 0.655 MB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.9734, allocations: 1.201 MB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.9734, allocations: 4 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.9735, allocations: 3.938 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.9736, allocations: 7.938 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.9744, allocations: 221.8 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.9747, allocations: 179.6 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.9748, allocations: 0 / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.975, allocations: 71.89 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.9751, allocations: 71.77 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.9752, allocations: 12 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.9753, allocations: 31.98 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.9753, allocations: 7.984 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.9754, allocations: 55.83 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.9757, allocations: 154.3 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9757, allocations: 0 / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9757, allocations: 3.938 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.9757, allocations: 0 / 1.277 GB, free: 1.844 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.000703/0.9764, allocations: 442.7 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9765, allocations: 11.97 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.9765, allocations: 12.89 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.9767, allocations: 160.4 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.9767, allocations: 8.375 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.9768, allocations: 12.36 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.9769, allocations: 46.25 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.9769, allocations: 3.938 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.9769, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.9769, allocations: 4 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.977, allocations: 19.92 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.9776, allocations: 360.6 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.9777, allocations: 26.58 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.9778, allocations: 20.92 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.9778, allocations: 0 / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.978, allocations: 92.84 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.978, allocations: 0 / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000321/0.9783, allocations: 97.62 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.9784, allocations: 55.41 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.9785, allocations: 121.8 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.9785, allocations: 29.7 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.9786, allocations: 92.09 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.9787, allocations: 19.89 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.9788, allocations: 53.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.979, allocations: 326.8 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.9791, allocations: 55.97 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.9794, allocations: 96.25 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.9796, allocations: 155.6 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9796, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005888/0.9802, allocations: 264.9 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/0.9803, allocations: 67.39 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9803, allocations: 320 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.9803, allocations: 4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-05/0.9804, allocations: 8.062 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.9804, allocations: 7.984 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.9808, allocations: 55.83 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.9809, allocations: 19.92 kB / 1.279 GB, free: 14.84 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.0001434/0.981, allocations: 126.3 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.981, allocations: 11.95 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.9811, allocations: 8.844 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.9811, allocations: 0 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9811, allocations: 0 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9811, allocations: 4 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.9813, allocations: 173.6 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9813, allocations: 7.938 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/0.9813, allocations: 4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.9813, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.9813, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.9813, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.9813, allocations: 11.94 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.9815, allocations: 112.9 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.9816, allocations: 81.11 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.9816, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.183e-05/0.9816, allocations: 7.984 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.9817, allocations: 4 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.9817, allocations: 4 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.9817, allocations: 95.27 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9817, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000349/0.9821, allocations: 28 kB / 1.28 GB, free: 14.08 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.0001964/0.9823, allocations: 111.1 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.9827, allocations: 218.7 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.9827, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.9828, allocations: 16 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.9831, allocations: 20.23 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.9836, allocations: 174.5 kB / 1.28 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.984, allocations: 0.6846 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.984, allocations: 4 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.984, allocations: 11.44 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.984, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.006462/0.9905, allocations: 1.862 MB / 1.283 GB, free: 10.93 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 cvode -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.975278000812978]