Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 109.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 194.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 65.11 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2507, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002444/0.2532, allocations: 1.095 MB / 0.9508 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2552, allocations: 1.456 MB / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.2553, allocations: 4 kB / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.2555, allocations: 11.86 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2556, allocations: 35.7 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2567, allocations: 433.9 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.2573, allocations: 0.5349 MB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.2576, allocations: 139.5 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.2579, allocations: 199.6 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.2582, allocations: 163.4 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.2583, allocations: 52 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2585, allocations: 67.98 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.2586, allocations: 63.77 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.2588, allocations: 199.2 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.2592, allocations: 387.4 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2592, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2592, allocations: 4 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.2592, allocations: 0 / 0.9545 GB, free: 4.406 MB / 0.7325 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.0009319/0.2602, allocations: 0.6966 MB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2602, allocations: 8.031 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2603, allocations: 36.66 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009999/0.2614, allocations: 364.1 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.2614, allocations: 24.75 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.2615, allocations: 28.38 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.2619, allocations: 240.5 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2619, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2619, allocations: 12 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2619, allocations: 7.938 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.2622, allocations: 147.3 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.2634, allocations: 0.7575 MB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.2637, allocations: 198.4 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.2639, allocations: 210.3 kB / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.264, allocations: 0 / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.2643, allocations: 249.4 kB / 0.9573 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.492e-06/0.2643, allocations: 0 / 0.9573 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.0006652/0.265, allocations: 415.8 kB / 0.9577 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.2651, allocations: 118.8 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.2654, allocations: 290.4 kB / 0.9581 GB, free: 428 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.2654, allocations: 37.7 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2656, allocations: 160.6 kB / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.2656, allocations: 63.19 kB / 0.9584 GB, free: 152 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2658, allocations: 141.5 kB / 0.9585 GB, free: 4 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.266, allocations: 338.8 kB / 0.9588 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.2663, allocations: 204.6 kB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.2668, allocations: 323.7 kB / 0.9593 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.2674, allocations: 0.5193 MB / 0.9599 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2674, allocations: 0 / 0.9599 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001058/0.2684, allocations: 0.7285 MB / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.2685, allocations: 122.8 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2685, allocations: 4 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2686, allocations: 7.984 kB / 0.9607 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2687, allocations: 23.92 kB / 0.9607 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2687, allocations: 4 kB / 0.9607 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.2694, allocations: 139.6 kB / 0.9609 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2695, allocations: 63.92 kB / 0.9609 GB, free: 13.37 MB / 0.7481 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.0002239/0.2697, allocations: 185.7 kB / 0.9611 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.2698, allocations: 31.62 kB / 0.9611 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.2703, allocations: 352.8 kB / 0.9615 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2703, allocations: 8 kB / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2703, allocations: 4 kB / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2703, allocations: 3.938 kB / 0.9615 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.2712, allocations: 0.7211 MB / 0.9622 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2712, allocations: 4 kB / 0.9622 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.2713, allocations: 19.92 kB / 0.9622 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2713, allocations: 7.938 kB / 0.9622 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2713, allocations: 4 kB / 0.9622 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2713, allocations: 4 kB / 0.9622 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2713, allocations: 0 / 0.9622 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.2718, allocations: 407 kB / 0.9626 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.2719, allocations: 108.7 kB / 0.9627 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.2719, allocations: 15.84 kB / 0.9627 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.272, allocations: 8 kB / 0.9627 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.2721, allocations: 27.97 kB / 0.9628 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2721, allocations: 11.98 kB / 0.9628 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001742/0.2723, allocations: 186 kB / 0.9629 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2723, allocations: 3.938 kB / 0.9629 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004121/0.2727, allocations: 88 kB / 0.963 GB, free: 11.09 MB / 0.7481 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.000185/0.2729, allocations: 129.4 kB / 0.9632 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009139/0.2739, allocations: 0.6853 MB / 0.9638 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2739, allocations: 0 / 0.9638 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.2741, allocations: 143.8 kB / 0.964 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.2745, allocations: 61.33 kB / 0.964 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.2755, allocations: 0.6238 MB / 0.9646 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2758, allocations: 0.7648 MB / 0.9654 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.2759, allocations: 31.44 kB / 0.9654 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2759, allocations: 0 / 0.9654 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of Templates: time 0.007269/0.2831, allocations: 4.392 MB / 0.9697 GB, free: 4.176 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches