Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001915/0.001915, allocations: 99.78 kB / 19.71 MB, free: 2.105 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.002371/0.002371, allocations: 214.3 kB / 23.01 MB, free: 4.914 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002122/0.002122, allocations: 66.5 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4038, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002433/0.4063, allocations: 0.8081 MB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.4085, allocations: 1.502 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.4086, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.4087, allocations: 19.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.4088, allocations: 35.66 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.4101, allocations: 0.5139 MB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.4107, allocations: 475.2 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4108, allocations: 33.59 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.4111, allocations: 183.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.4114, allocations: 183.5 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.4114, allocations: 44 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.4116, allocations: 51.94 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.4116, allocations: 39.91 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4118, allocations: 151.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.4123, allocations: 418.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 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.0009144/0.4132, allocations: 0.5761 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4133, allocations: 12.03 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.4134, allocations: 32.83 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.4138, allocations: 202.2 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.4138, allocations: 20.36 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.4139, allocations: 32.38 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.4142, allocations: 151.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4142, allocations: 4.125 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4142, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4142, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.4144, allocations: 84.55 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.4153, allocations: 0.5664 MB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4154, allocations: 86.48 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.906e-05/0.4155, allocations: 40.84 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.4155, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.4159, allocations: 157.1 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.4159, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005311/0.4164, allocations: 250.6 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4165, allocations: 71.33 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4166, allocations: 182.7 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.4167, allocations: 37.7 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4168, allocations: 128.6 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.4169, allocations: 39.75 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.4171, allocations: 117.6 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4173, allocations: 326.8 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.4177, allocations: 308.4 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.4182, allocations: 398.6 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.4187, allocations: 404.8 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4187, allocations: 4 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00118/0.4199, allocations: 0.7897 MB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.42, allocations: 156.5 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.42, allocations: 7.984 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.42, allocations: 4 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.4201, allocations: 15.88 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.4201, allocations: 11.92 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.4209, allocations: 132.1 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.4209, allocations: 31.98 kB / 1.337 GB, free: 6.785 MB / 1.029 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.0002223/0.4212, allocations: 174 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.4212, allocations: 15.91 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.4212, allocations: 13.81 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4212, allocations: 3.938 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4212, allocations: 4 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.4213, allocations: 19.91 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.4213, allocations: 4 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.4213, allocations: 8 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.4214, allocations: 23.95 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003497/0.4218, allocations: 252.9 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003774/0.4221, allocations: 365.2 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001049/0.4223, allocations: 63.91 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001031/0.4224, allocations: 119.2 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of Backend: time 8.51e-07/0.4224, allocations: 0 / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.4236, allocations: 0.7301 MB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009898/0.4245, allocations: 0.7549 MB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of Templates: time 0.01007/0.4346, allocations: 5.439 MB / 1.344 GB, free: 14.76 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.645352517996798]