Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001513/0.001513, 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.001613/0.001613, 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.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.853/2.853, allocations: 476.7 MB / 0.7629 GB, free: 15.32 MB / 0.6075 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.89 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.211, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002111/1.214, allocations: 0.6627 MB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001591/1.215, allocations: 1.197 MB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/1.215, allocations: 0 / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/1.215, allocations: 6.266 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.971e-05/1.215, allocations: 11.34 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/1.216, allocations: 215.4 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/1.216, allocations: 178.9 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/1.216, allocations: 15.77 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/1.217, allocations: 65.59 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/1.217, allocations: 61.48 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/1.217, allocations: 15.75 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/1.217, allocations: 30.78 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/1.217, allocations: 8.219 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/1.217, allocations: 53.83 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/1.217, allocations: 152 kB / 1.275 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.217, allocations: 0.9062 kB / 1.275 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/1.217, allocations: 4 kB / 1.275 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.217, allocations: 3.938 kB / 1.275 GB, free: 6.305 MB / 0.9981 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.0005349/1.218, allocations: 430.7 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.218, allocations: 9.844 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/1.218, allocations: 16.55 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/1.218, allocations: 178.4 kB / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/1.218, allocations: 5.312 kB / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/1.218, allocations: 13.34 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/1.218, allocations: 44.77 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.218, allocations: 4.188 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.218, allocations: 4.906 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.218, allocations: 0.7812 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/1.218, allocations: 14.36 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/1.219, allocations: 357.8 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/1.219, allocations: 33.33 kB / 1.276 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/1.219, allocations: 16.78 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/1.219, allocations: 4 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/1.219, allocations: 77.66 kB / 1.276 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/1.219, allocations: 1 kB / 1.276 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000271/1.219, allocations: 103.1 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/1.219, allocations: 54.34 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/1.219, allocations: 115.2 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.219, allocations: 34.2 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/1.219, allocations: 100.2 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/1.219, allocations: 13.75 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.22, allocations: 48.67 kB / 1.276 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.018e-05/1.22, allocations: 323 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.22, allocations: 60.72 kB / 1.277 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/1.22, allocations: 95.97 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/1.22, allocations: 162.8 kB / 1.277 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.22, allocations: 1.125 kB / 1.277 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004114/1.22, allocations: 264.8 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/1.22, allocations: 73.77 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.221, allocations: 1.469 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.221, allocations: 6.328 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/1.221, allocations: 6.125 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.221, allocations: 1.531 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/1.221, allocations: 55.06 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/1.221, allocations: 13.64 kB / 1.277 GB, free: 4.016 MB / 0.9981 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 8.304e-05/1.221, allocations: 134 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/1.221, allocations: 6.547 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/1.221, allocations: 10.61 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.221, allocations: 1.344 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.221, allocations: 0 / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.221, allocations: 2.812 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/1.221, allocations: 177 kB / 1.278 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.221, allocations: 0.8125 kB / 1.278 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/1.221, allocations: 8 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.221, allocations: 4.75 kB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.221, allocations: 5.875 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.221, allocations: 320 / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.221, allocations: 0.9688 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/1.221, allocations: 114.1 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/1.221, allocations: 81.81 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.221, allocations: 4.844 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/1.221, allocations: 0.9062 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/1.221, allocations: 9.969 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/1.221, allocations: 2.5 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.463e-05/1.222, allocations: 95.08 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.222, allocations: 0 / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002529/1.222, allocations: 34.89 kB / 1.278 GB, free: 3.375 MB / 0.9981 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.0001971/1.222, allocations: 105.7 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003455/1.222, allocations: 228.3 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.222, allocations: 0 / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/1.222, allocations: 24.19 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/1.223, allocations: 13.95 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/1.223, allocations: 169.7 kB / 1.278 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/1.223, allocations: 0.6859 MB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.95e-05/1.223, allocations: 10.42 kB / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/1.223, allocations: 14.22 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.223, allocations: 1.406 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.00603/1.229, allocations: 1.851 MB / 1.281 GB, free: 2.082 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.747155168093741]