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.001314/0.001314, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001446/0.001446, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.955/2.955, allocations: 0.49 GB / 0.7923 GB, free: 1.457 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.002074/0.002074, allocations: 75.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9503/0.9523, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001953/0.9543, allocations: 0.8245 MB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.9558, allocations: 1.517 MB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.9558, allocations: 6.906 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.9559, allocations: 18.52 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.956, allocations: 36.58 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.9572, allocations: 0.5224 MB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.9578, allocations: 471.3 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.9579, allocations: 32.83 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.9581, allocations: 184.5 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.9583, allocations: 174 kB / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.9584, allocations: 47.91 kB / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.9585, allocations: 53.47 kB / 1.326 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.9586, allocations: 50.58 kB / 1.326 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.9587, allocations: 156.2 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.9591, allocations: 415 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9591, allocations: 0 / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9591, allocations: 0 / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9592, allocations: 0.5 kB / 1.326 GB, free: 22.5 MB / 1.061 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.0007952/0.9599, allocations: 0.6471 MB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.96, allocations: 14.12 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.9601, allocations: 32.19 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.9604, allocations: 270.6 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.9604, allocations: 16.91 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.9605, allocations: 32.39 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.9608, allocations: 142.9 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.9608, allocations: 1.125 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.9608, allocations: 9.781 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.9608, allocations: 2.219 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.961, allocations: 90.06 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.9618, allocations: 0.7059 MB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.962, allocations: 163.5 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.9621, allocations: 44.58 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.9621, allocations: 5.906 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.9624, allocations: 158.1 kB / 1.329 GB, free: 20.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.9625, allocations: 0 / 1.329 GB, free: 20.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005656/0.963, allocations: 247.5 kB / 1.329 GB, free: 20.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.9631, allocations: 56.84 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.9632, allocations: 179 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.9633, allocations: 44.45 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.9634, allocations: 131.5 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.9634, allocations: 45.28 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.9637, allocations: 115.5 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.9637, allocations: 328.9 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.9641, allocations: 153.9 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.9645, allocations: 238.7 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.9649, allocations: 406.7 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9649, allocations: 1.156 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001008/0.966, allocations: 0.6307 MB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-05/0.966, allocations: 169 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.9661, allocations: 10.88 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.9661, allocations: 4.219 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.9661, allocations: 11.06 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9661, allocations: 5.969 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008273/0.967, allocations: 135.4 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/0.967, allocations: 33.42 kB / 1.331 GB, free: 18.86 MB / 1.061 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.0001545/0.9672, allocations: 160.1 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.9672, allocations: 16.38 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.9673, allocations: 21.48 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9673, allocations: 3.141 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9673, allocations: 1.469 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.9673, allocations: 1.078 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.9678, allocations: 0.5146 MB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9678, allocations: 0 / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.9678, allocations: 8.531 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.9679, allocations: 0.8438 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.9679, allocations: 8.375 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9679, allocations: 1.281 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9679, allocations: 0.8438 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.9681, allocations: 288.9 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.9682, allocations: 93.19 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.9682, allocations: 3.703 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.9683, allocations: 6.875 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.9683, allocations: 18.52 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.9684, allocations: 11.91 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.9684, allocations: 117.8 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9684, allocations: 0 / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003706/0.9688, allocations: 82.75 kB / 1.333 GB, free: 17.89 MB / 1.061 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.0001597/0.969, allocations: 119 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.9697, allocations: 0.546 MB / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9697, allocations: 0 / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.9698, allocations: 66.2 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.9702, allocations: 59.66 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.9708, allocations: 371.9 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.971, allocations: 0.7357 MB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.9711, allocations: 19.14 kB / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9711, allocations: 0 / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of Templates: time 0.006969/0.978, allocations: 3.337 MB / 1.338 GB, free: 16.04 MB / 1.061 GB " [Timeout remaining time 299] 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] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 12.097765152007923]