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.00173/0.00173, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002017/0.002017, allocations: 218.2 kB / 23.04 MB, free: 4.852 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.3 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.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.002061/0.002061, allocations: 71.14 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002344/0.3431, allocations: 0.985 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3452, allocations: 1.49 MB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.3453, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.3454, allocations: 27.67 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.3455, allocations: 47.59 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3466, allocations: 476.7 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.3472, allocations: 0.4959 MB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.3474, allocations: 88.16 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.3476, allocations: 207.5 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3479, allocations: 167.4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.348, allocations: 52 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3481, allocations: 63.98 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.3482, allocations: 63.72 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.3484, allocations: 175.4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005771/0.349, allocations: 0.5139 MB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.349, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.349, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.349, allocations: 0 / 1.332 GB, free: 12.13 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.0009192/0.3499, allocations: 0.6212 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.35, allocations: 11.97 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3501, allocations: 40.75 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.351, allocations: 295.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.351, allocations: 32.67 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.3511, allocations: 32.38 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.3516, allocations: 361.4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3516, allocations: 3.938 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.3516, allocations: 11.98 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3516, allocations: 7.984 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.3519, allocations: 147.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.353, allocations: 0.617 MB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3533, allocations: 174.5 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.3535, allocations: 196.7 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3535, allocations: 4.344 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.3539, allocations: 356 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.3539, allocations: 3.938 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0006988/0.3546, allocations: 427.1 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.3547, allocations: 110.8 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.355, allocations: 277.7 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.3551, allocations: 37.7 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3552, allocations: 164.8 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.3553, allocations: 59.52 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.3555, allocations: 141.6 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3556, allocations: 342.8 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.3561, allocations: 331.4 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.3567, allocations: 490.2 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.3573, allocations: 0.5349 MB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3573, allocations: 0 / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00117/0.3585, allocations: 0.8495 MB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.3586, allocations: 132.7 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3586, allocations: 4 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3586, allocations: 4 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.3587, allocations: 31.86 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.3587, allocations: 4 kB / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/0.3593, allocations: 127.7 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3595, allocations: 67.92 kB / 1.339 GB, free: 4.641 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.0002304/0.3597, allocations: 189.6 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3597, allocations: 35.8 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.3603, allocations: 356.7 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3603, allocations: 4 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3603, allocations: 0 / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3603, allocations: 0 / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/0.3611, allocations: 0.631 MB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3611, allocations: 4 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.3612, allocations: 19.98 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3612, allocations: 4 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3612, allocations: 4 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3612, allocations: 4 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3612, allocations: 0 / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.3617, allocations: 424.6 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.3617, allocations: 27.78 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3618, allocations: 11.95 kB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3619, allocations: 15.92 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.362, allocations: 27.89 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.362, allocations: 16 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001815/0.3622, allocations: 181.2 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3622, allocations: 0 / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003898/0.3625, allocations: 87.92 kB / 1.341 GB, free: 2.562 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.0001771/0.3627, allocations: 121.2 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009454/0.3637, allocations: 0.7267 MB / 1.341 GB, free: 1.633 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3637, allocations: 0 / 1.341 GB, free: 1.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3639, allocations: 127.9 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.3643, allocations: 57.08 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.3652, allocations: 0.5454 MB / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.3654, allocations: 156.1 kB / 1.342 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.3654, allocations: 39.42 kB / 1.342 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3654, allocations: 4 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of Templates: time 0.007514/0.3729, allocations: 4.446 MB / 1.347 GB, free: 12.23 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.969982135109603]