Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001287/0.001287, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001022/0.001022, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.427/2.427, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_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.[0-9,]+.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.52e-05, allocations: 4.281 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00144/0.001455, allocations: 0.9992 MB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.002851, allocations: 1.532 MB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.002921, allocations: 4 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.003039, allocations: 27.67 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.761e-05/0.003116, allocations: 59.5 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.003771, allocations: 450.9 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.004122, allocations: 0.5114 MB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.004291, allocations: 86.78 kB / 0.8422 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.004544, allocations: 307.5 kB / 0.8425 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.00471, allocations: 139.7 kB / 0.8426 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.004757, allocations: 36 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.004837, allocations: 52 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.004901, allocations: 67.73 kB / 0.8427 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.005006, allocations: 139.7 kB / 0.8429 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.005278, allocations: 350.9 kB / 0.8432 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00528, allocations: 0 / 0.8432 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.71e-07/0.00528, allocations: 0 / 0.8432 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.005284, allocations: 0 / 0.8432 GB, free: 9.477 MB / 0.8073 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.0004884/0.005772, allocations: 0.5885 MB / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.005804, allocations: 8.625 kB / 0.8438 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.005865, allocations: 48.89 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.006074, allocations: 213.3 kB / 0.844 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.006095, allocations: 20.75 kB / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.006135, allocations: 36.38 kB / 0.8441 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.006328, allocations: 294.3 kB / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.006336, allocations: 192 / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.006353, allocations: 16.36 kB / 0.8444 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.006358, allocations: 4.375 kB / 0.8444 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.00642, allocations: 67.34 kB / 0.8445 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.00697, allocations: 446.6 kB / 0.8449 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.007072, allocations: 94.52 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.007122, allocations: 52.83 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.007129, allocations: 4 kB / 0.845 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.007304, allocations: 302.9 kB / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.007306, allocations: 0 / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0002299/0.007535, allocations: 211.4 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.007577, allocations: 110.8 kB / 0.8456 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.007719, allocations: 272.7 kB / 0.8459 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.007753, allocations: 41.64 kB / 0.8459 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.007831, allocations: 144.7 kB / 0.8461 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.007869, allocations: 67.55 kB / 0.8461 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.007987, allocations: 125.5 kB / 0.8462 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.008076, allocations: 342.8 kB / 0.8466 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.008229, allocations: 227.2 kB / 0.8468 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.008446, allocations: 397.1 kB / 0.8472 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.008704, allocations: 406.5 kB / 0.8476 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008707, allocations: 0 / 0.8476 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004162/0.009123, allocations: 0.6028 MB / 0.8481 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.00918, allocations: 141.2 kB / 0.8483 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.009186, allocations: 4 kB / 0.8483 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.009197, allocations: 4 kB / 0.8483 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.009244, allocations: 24.27 kB / 0.8483 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.00925, allocations: 8 kB / 0.8483 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.009512, allocations: 111.6 kB / 0.8484 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.009565, allocations: 55.92 kB / 0.8485 GB, free: 3.555 MB / 0.8073 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,extIndBoo.u[1],extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4],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],extIndBoo.u[4],con1.y,con.y,conInt.y) * 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.0001089/0.009674, allocations: 172.5 kB / 0.8486 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.009699, allocations: 27.91 kB / 0.8487 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.00989, allocations: 204.6 kB / 0.8489 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.009893, allocations: 4 kB / 0.8489 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.009894, allocations: 0 / 0.8489 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.009898, allocations: 0 / 0.8489 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.01029, allocations: 462.8 kB / 0.8493 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01029, allocations: 7.922 kB / 0.8493 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.01032, allocations: 12 kB / 0.8493 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01033, allocations: 0 / 0.8493 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01034, allocations: 15.92 kB / 0.8493 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01034, allocations: 3.984 kB / 0.8493 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01034, allocations: 3.938 kB / 0.8493 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.0105, allocations: 268.9 kB / 0.8496 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.01052, allocations: 35.67 kB / 0.8496 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01054, allocations: 15.98 kB / 0.8497 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.01059, allocations: 8 kB / 0.8497 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.01062, allocations: 23.95 kB / 0.8497 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01063, allocations: 8 kB / 0.8497 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.01069, allocations: 82.77 kB / 0.8498 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01069, allocations: 0 / 0.8498 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000206/0.01089, allocations: 83.95 kB / 0.8498 GB, free: 2.086 MB / 0.8073 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.0001137/0.01101, allocations: 118.3 kB / 0.85 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.0114, allocations: 0.6034 MB / 0.8506 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.0114, allocations: 4 kB / 0.8506 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.01147, allocations: 84.67 kB / 0.8506 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.01168, allocations: 77.08 kB / 0.8507 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.01217, allocations: 453.7 kB / 0.8511 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.01222, allocations: 89.62 kB / 0.8512 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.284e-05/0.01228, allocations: 38.97 kB / 0.8513 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.01249, allocations: 151.3 kB / 0.8514 GB, free: 368 kB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.01249, allocations: 0 / 0.8514 GB, free: 368 kB / 0.8073 GB Notification: Performance of Templates: time 0.007662/0.02015, allocations: 5.707 MB / 0.857 GB, free: 10.78 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.416848040185869]