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.001321/0.001321, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001384/0.001384, allocations: 214.8 kB / 23.04 MB, free: 4.863 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002041/0.002041, allocations: 68.17 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001978/0.3207, allocations: 0.8105 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3226, allocations: 1.49 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.3227, allocations: 3.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.3228, allocations: 23.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.3229, allocations: 31.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.3241, allocations: 0.5226 MB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.3247, allocations: 471.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3248, allocations: 33.66 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.325, allocations: 187.7 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3253, allocations: 151.5 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.3253, allocations: 40 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3255, allocations: 55.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3255, allocations: 43.84 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.3257, allocations: 139.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.3262, allocations: 426.6 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3262, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3262, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3262, allocations: 4 kB / 1.331 GB, free: 12.56 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.0007943/0.327, allocations: 0.5839 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.327, allocations: 11.97 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.592e-05/0.3271, allocations: 28.84 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.3275, allocations: 198.2 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.3275, allocations: 16.38 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.3276, allocations: 36.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.3278, allocations: 151.8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3278, allocations: 4.188 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3278, allocations: 11.94 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3279, allocations: 7.938 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.328, allocations: 75.95 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.3288, allocations: 0.5702 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.329, allocations: 86.53 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.3291, allocations: 40.84 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.3291, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.3293, allocations: 160.9 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3293, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004879/0.3298, allocations: 246.3 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.3299, allocations: 67.38 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3301, allocations: 182.7 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3301, allocations: 37.7 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3302, allocations: 128.6 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.3303, allocations: 43.73 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3305, allocations: 113.6 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3306, allocations: 330.8 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.331, allocations: 304.4 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.3315, allocations: 397 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.332, allocations: 412.3 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.332, allocations: 0 / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001097/0.3331, allocations: 0.7832 MB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3332, allocations: 160.5 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3332, allocations: 4 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3332, allocations: 7.938 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/0.3333, allocations: 11.94 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3333, allocations: 4.344 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/0.334, allocations: 135.7 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.3341, allocations: 31.97 kB / 1.337 GB, free: 6.773 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.0001825/0.3343, allocations: 166 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.3343, allocations: 15.91 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.3344, allocations: 21.89 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3344, allocations: 11.88 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3344, allocations: 3.984 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3344, allocations: 3.938 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3349, allocations: 439.5 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3349, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.3349, allocations: 8 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3349, allocations: 3.938 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.335, allocations: 12.05 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.335, allocations: 4 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.335, allocations: 0 / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3353, allocations: 281 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3353, allocations: 19.83 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3353, allocations: 4 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3354, allocations: 4 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.3355, allocations: 19.97 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3355, allocations: 15.98 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.488e-05/0.3356, allocations: 115.2 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3356, allocations: 0 / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003685/0.3359, allocations: 87.89 kB / 1.338 GB, free: 5.496 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.0001603/0.3361, allocations: 107.2 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008536/0.3369, allocations: 0.693 MB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3369, allocations: 4.188 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3371, allocations: 71.91 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3375, allocations: 47.95 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.3381, allocations: 361.7 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3382, allocations: 116.1 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.3383, allocations: 27.38 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3383, allocations: 0 / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of Templates: time 0.006387/0.3447, allocations: 3.377 MB / 1.343 GB, free: 0.582 MB / 1.029 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] "" 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: 11.849082717904821]