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.001792/0.001792, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00154/0.00154, allocations: 209.7 kB / 22.99 MB, free: 4.957 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.383/3.383, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.00215/0.00215, allocations: 72.72 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4024, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002204/0.4046, allocations: 0.8025 MB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.4068, allocations: 1.502 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.4068, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.4069, allocations: 15.8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.152e-05/0.407, allocations: 39.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4083, allocations: 0.5162 MB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.4089, allocations: 483.2 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.409, allocations: 25.67 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.4093, allocations: 191.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.4096, allocations: 171.5 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.4097, allocations: 44 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4098, allocations: 48 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.4099, allocations: 43.89 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.41, allocations: 151.6 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.4105, allocations: 414.7 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.4105, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4105, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4105, allocations: 4 kB / 1.331 GB, free: 12.6 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.00084/0.4114, allocations: 0.5761 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4114, allocations: 12.03 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.4115, allocations: 32.83 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.4119, allocations: 206.1 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4119, allocations: 24.36 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.412, allocations: 28.38 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4123, allocations: 154.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4123, allocations: 192 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.4123, allocations: 7.938 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.4123, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.4125, allocations: 91.88 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.4134, allocations: 0.5664 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4136, allocations: 86.55 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.4137, allocations: 37.03 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.4137, allocations: 7.938 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.414, allocations: 160.5 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.414, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005309/0.4145, allocations: 250.7 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.4146, allocations: 55.41 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4147, allocations: 182.7 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.4148, allocations: 41.7 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4149, allocations: 128.6 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.415, allocations: 39.75 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.4152, allocations: 121.6 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4153, allocations: 326.8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.4158, allocations: 308.4 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.4163, allocations: 398.6 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.4168, allocations: 407.5 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4168, allocations: 0 / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001214/0.4181, allocations: 0.781 MB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4182, allocations: 160.5 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4182, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4182, allocations: 8.281 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.888e-05/0.4182, allocations: 15.94 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4183, allocations: 7.984 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.4191, allocations: 131.7 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.4191, allocations: 31.98 kB / 1.337 GB, free: 6.805 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.0002079/0.4193, allocations: 170 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4194, allocations: 15.91 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.4194, allocations: 17.81 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4194, allocations: 3.938 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4194, allocations: 0 / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4194, allocations: 0 / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.42, allocations: 447.5 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.42, allocations: 0 / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.4201, allocations: 7.984 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4201, allocations: 3.938 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4201, allocations: 4 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.4201, allocations: 12 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4201, allocations: 0 / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4204, allocations: 276.9 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.4205, allocations: 15.84 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.4205, allocations: 8 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.4206, allocations: 7.984 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.4206, allocations: 23.97 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.4206, allocations: 4 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.4207, allocations: 123.2 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4207, allocations: 0 / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004061/0.4211, allocations: 87.83 kB / 1.338 GB, free: 5.535 MB / 1.029 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.0001734/0.4213, allocations: 115.2 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008949/0.4222, allocations: 0.697 MB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4222, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4223, allocations: 63.91 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.4227, allocations: 43.55 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.4233, allocations: 332.2 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.4235, allocations: 120.1 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.341e-05/0.4235, allocations: 21.47 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4236, allocations: 27.42 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4236, allocations: 0 / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of Templates: time 0.009718/0.4333, allocations: 5.251 MB / 1.344 GB, free: 14.86 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 -s cvode -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.80980255099712]