Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001708/0.001708, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001821/0.001821, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.169/3.169, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [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.002064/0.002064, allocations: 75.95 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002465/0.355, allocations: 0.9927 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3572, allocations: 1.478 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.3572, allocations: 3.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.3574, allocations: 31.61 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.3575, allocations: 39.66 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3586, allocations: 472.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.3592, allocations: 0.5037 MB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3595, allocations: 84.16 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.3597, allocations: 207.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.36, allocations: 171.3 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.3601, allocations: 52 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3602, allocations: 63.98 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.3603, allocations: 67.77 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3606, allocations: 175.4 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.3612, allocations: 0.5178 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3612, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3612, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.3612, allocations: 0 / 1.331 GB, free: 13.08 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009741/0.3622, allocations: 0.629 MB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3622, allocations: 8.031 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3623, allocations: 40.75 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/0.3632, allocations: 291.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.3633, allocations: 28.73 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.3634, allocations: 28.38 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.3639, allocations: 361.4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3639, allocations: 3.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.3639, allocations: 19.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3639, allocations: 4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.3642, allocations: 147.3 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.3654, allocations: 0.6209 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.3657, allocations: 170.5 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.3659, allocations: 203.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.366, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.3664, allocations: 350.6 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.3664, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007349/0.3672, allocations: 423.2 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.3673, allocations: 110.8 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.3676, allocations: 277.7 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.3676, allocations: 41.7 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3678, allocations: 164.8 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.3679, allocations: 63.52 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.3681, allocations: 145.6 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3683, allocations: 346.7 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.3687, allocations: 323.4 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.3693, allocations: 498.2 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.37, allocations: 0.5349 MB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.37, allocations: 0 / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001239/0.3712, allocations: 0.8453 MB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.3713, allocations: 123.2 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3713, allocations: 11.98 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.3713, allocations: 4 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.3714, allocations: 27.92 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3715, allocations: 7.938 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.3721, allocations: 123.7 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3722, allocations: 63.92 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002253/0.3724, allocations: 185.6 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.3725, allocations: 35.81 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.373, allocations: 364.6 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.373, allocations: 4 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.373, allocations: 0 / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.373, allocations: 0 / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008758/0.3739, allocations: 0.6272 MB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3739, allocations: 0 / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.374, allocations: 19.94 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.374, allocations: 7.984 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.374, allocations: 4 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.374, allocations: 4 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.374, allocations: 0 / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.3745, allocations: 424.6 kB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3745, allocations: 31.75 kB / 1.339 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.3746, allocations: 15.97 kB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3747, allocations: 12 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3748, allocations: 27.89 kB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3748, allocations: 8 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001772/0.3749, allocations: 185.2 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3749, allocations: 0 / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000402/0.3753, allocations: 87.94 kB / 1.34 GB, free: 3.52 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: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001742/0.3755, allocations: 125.1 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009578/0.3765, allocations: 0.7233 MB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3765, allocations: 3.938 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3767, allocations: 123.9 kB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.3771, allocations: 60.39 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.378, allocations: 0.5456 MB / 1.341 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.3782, allocations: 156.1 kB / 1.341 GB, free: 1.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.3782, allocations: 39.42 kB / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3782, allocations: 0 / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of Templates: time 0.007466/0.3857, allocations: 4.446 MB / 1.346 GB, free: 13.2 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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: 11.64375198399648]