Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001579/0.001579, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001655/0.001655, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.506/1.506, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3922, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001954/0.3942, allocations: 0.67 MB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3958, allocations: 1.203 MB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.3958, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.3958, allocations: 3.938 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.3959, allocations: 19.92 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.3966, allocations: 210.8 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3968, allocations: 171.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.3969, allocations: 8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.397, allocations: 71.88 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3971, allocations: 59.84 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.3972, allocations: 16 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.3973, allocations: 31.98 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.3973, allocations: 11.92 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.3974, allocations: 59.83 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3976, allocations: 143.6 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3976, allocations: 11.94 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3976, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3976, allocations: 0 / 1.219 GB, free: 12.62 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.0006145/0.3982, allocations: 434.6 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3982, allocations: 12.03 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.3983, allocations: 12.88 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3985, allocations: 176.4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3985, allocations: 4.375 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3985, allocations: 8.375 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3986, allocations: 54.23 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3986, allocations: 4.125 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3987, allocations: 3.938 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3987, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.936e-05/0.3987, allocations: 15.94 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.3992, allocations: 352.8 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.3993, allocations: 42.44 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.3993, allocations: 12.86 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3993, allocations: 0 / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.3995, allocations: 79.39 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.3995, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002585/0.3998, allocations: 113.6 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3998, allocations: 51.41 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4, allocations: 121.8 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.4, allocations: 29.7 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.4001, allocations: 96.08 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.4001, allocations: 15.84 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4002, allocations: 49.69 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4003, allocations: 326.8 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4005, allocations: 55.97 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4006, allocations: 92.27 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.4009, allocations: 160.1 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4009, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004447/0.4014, allocations: 264.8 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.4014, allocations: 71.39 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4014, allocations: 0 / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4014, allocations: 0 / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.372e-05/0.4015, allocations: 7.938 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4015, allocations: 320 / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.4019, allocations: 56.02 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.4019, allocations: 19.98 kB / 1.221 GB, free: 9.625 MB / 0.9669 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,or1.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.0001141/0.4021, allocations: 121.8 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.4021, allocations: 3.953 kB / 1.221 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.4021, allocations: 16.36 kB / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4021, allocations: 0 / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4021, allocations: 4 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4021, allocations: 0 / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.4023, allocations: 181.5 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4023, allocations: 0 / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.4023, allocations: 8.047 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4023, allocations: 7.984 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4023, allocations: 3.938 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4023, allocations: 3.938 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4023, allocations: 3.984 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.4025, allocations: 117 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.4025, allocations: 77.11 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4026, allocations: 4 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.4026, allocations: 0 / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.4026, allocations: 11.98 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.4026, allocations: 0 / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.4027, allocations: 91.27 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.4027, allocations: 0 / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002346/0.4029, allocations: 28 kB / 1.222 GB, free: 8.855 MB / 0.9669 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,or1.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.0001832/0.4031, allocations: 121.9 kB / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.4035, allocations: 218.9 kB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4035, allocations: 0 / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.4036, allocations: 23.98 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4038, allocations: 19.92 kB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.4042, allocations: 174.8 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4046, allocations: 0.6846 MB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.4046, allocations: 4 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.4046, allocations: 11.44 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.4046, allocations: 0 / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of Templates: time 0.005214/0.4098, allocations: 1.847 MB / 1.225 GB, free: 5.695 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.471409566700459]