Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 213.7 kB / 22.24 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.063/3.063, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 64.31 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4221, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002294/0.4244, allocations: 0.8096 MB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.4265, allocations: 1.484 MB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.4266, allocations: 11.94 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.4267, allocations: 19.8 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.4268, allocations: 39.7 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4281, allocations: 0.5152 MB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.4287, allocations: 475.2 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.4289, allocations: 29.67 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.4291, allocations: 187.7 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.4294, allocations: 151.5 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.4295, allocations: 40 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.4296, allocations: 59.97 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.4297, allocations: 43.84 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.4299, allocations: 155.6 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.4304, allocations: 410.8 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4304, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4304, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4304, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009207/0.4313, allocations: 0.5722 MB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4314, allocations: 11.97 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4315, allocations: 32.8 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.4319, allocations: 203.4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.4319, allocations: 16.38 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.432, allocations: 40.36 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.4323, allocations: 152.9 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4323, allocations: 192 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.4323, allocations: 7.938 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4323, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.4325, allocations: 83.81 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.4333, allocations: 0.5703 MB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.4335, allocations: 86.53 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.4336, allocations: 44.84 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4336, allocations: 0 / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.4339, allocations: 155.4 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.4339, allocations: 0 / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004923/0.4344, allocations: 247.1 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4345, allocations: 63.39 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.4347, allocations: 186.7 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.4347, allocations: 41.7 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.4349, allocations: 128.6 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.435, allocations: 43.83 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.4351, allocations: 117.6 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4353, allocations: 330.8 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.4358, allocations: 308.4 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.4363, allocations: 396.3 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.4368, allocations: 413.8 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4368, allocations: 4 kB / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001158/0.438, allocations: 0.768 MB / 1.292 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.4381, allocations: 168.5 kB / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4381, allocations: 0 / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4382, allocations: 7.938 kB / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.683e-05/0.4382, allocations: 12 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4382, allocations: 7.938 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.439, allocations: 143.6 kB / 1.292 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.439, allocations: 31.97 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001936/0.4392, allocations: 161.5 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.4392, allocations: 15.91 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.4393, allocations: 17.8 kB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4393, allocations: 11.94 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4393, allocations: 3.984 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4393, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.4399, allocations: 444.2 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4399, allocations: 0 / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.4399, allocations: 4 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4399, allocations: 7.938 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4399, allocations: 7.984 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4399, allocations: 0 / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4399, allocations: 8.062 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.4403, allocations: 287.3 kB / 1.293 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.4403, allocations: 15.84 kB / 1.293 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4403, allocations: 0 / 1.293 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.4404, allocations: 8 kB / 1.293 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.4405, allocations: 19.97 kB / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4405, allocations: 11.98 kB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.168e-05/0.4406, allocations: 119.2 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4406, allocations: 0 / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003691/0.4409, allocations: 79.89 kB / 1.294 GB, free: 452 kB / 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001908/0.4411, allocations: 111.8 kB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.4421, allocations: 0.6989 MB / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4421, allocations: 0 / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4422, allocations: 69.97 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.4426, allocations: 48.58 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.4433, allocations: 328.1 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.4434, allocations: 116.1 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.767e-05/0.4435, allocations: 25.48 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.4435, allocations: 19.44 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.4435, allocations: 0 / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.009843/0.4534, allocations: 5.227 MB / 1.3 GB, free: 9.801 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.014778746291995]