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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008846/0.0008847, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8154, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001249/0.8168, allocations: 0.7321 MB / 0.9564 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.8185, allocations: 1.495 MB / 0.9579 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.8186, allocations: 7.594 kB / 0.9579 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.8187, allocations: 19.8 kB / 0.9579 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.8188, allocations: 31.92 kB / 0.958 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009032/0.8197, allocations: 435.4 kB / 0.9584 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.8201, allocations: 453.6 kB / 0.9588 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.8204, allocations: 133.9 kB / 0.9589 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.8205, allocations: 154 kB / 0.9591 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.8207, allocations: 137.4 kB / 0.9592 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.8208, allocations: 19.38 kB / 0.9592 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.8209, allocations: 30.11 kB / 0.9593 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.8209, allocations: 45.66 kB / 0.9593 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.8211, allocations: 182.5 kB / 0.9595 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.8214, allocations: 383.4 kB / 0.9598 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8214, allocations: 1.375 kB / 0.9598 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8214, allocations: 0 / 0.9598 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8215, allocations: 0 / 0.9598 GB, free: 4.719 MB / 0.7169 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.0006244/0.8221, allocations: 0.6103 MB / 0.9604 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8221, allocations: 9.625 kB / 0.9604 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.962e-05/0.8222, allocations: 39.94 kB / 0.9605 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.8231, allocations: 369.2 kB / 0.9608 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.8232, allocations: 22.5 kB / 0.9609 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.8233, allocations: 35.22 kB / 0.9609 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.8237, allocations: 236.1 kB / 0.9611 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8237, allocations: 0 / 0.9611 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.8237, allocations: 18.98 kB / 0.9611 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.8237, allocations: 4.031 kB / 0.9611 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.824, allocations: 141.2 kB / 0.9613 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.8251, allocations: 0.768 MB / 0.962 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.8254, allocations: 189.2 kB / 0.9622 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.8257, allocations: 216.8 kB / 0.9624 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.8257, allocations: 1.969 kB / 0.9624 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.8261, allocations: 244.4 kB / 0.9626 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.363e-06/0.8261, allocations: 0 / 0.9626 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007423/0.8268, allocations: 426.2 kB / 0.9631 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.8269, allocations: 118.9 kB / 0.9632 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.8272, allocations: 285.2 kB / 0.9634 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.8273, allocations: 38.83 kB / 0.9635 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.8274, allocations: 159.5 kB / 0.9636 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.8275, allocations: 58.66 kB / 0.9637 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.8276, allocations: 65.34 kB / 0.9637 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.8277, allocations: 342.3 kB / 0.9641 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.828, allocations: 200.6 kB / 0.9643 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.8285, allocations: 319.3 kB / 0.9646 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.8291, allocations: 0.5246 MB / 0.9651 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8291, allocations: 1.188 kB / 0.9651 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001151/0.8303, allocations: 0.7153 MB / 0.9658 GB, free: 292 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.8304, allocations: 123.9 kB / 0.9659 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8304, allocations: 3.906 kB / 0.9659 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.8304, allocations: 8.75 kB / 0.9659 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.8305, allocations: 24.45 kB / 0.9659 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.8305, allocations: 4.938 kB / 0.9659 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.8313, allocations: 176.6 kB / 0.9661 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.8314, allocations: 71.86 kB / 0.9662 GB, free: 36 kB / 0.7169 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.0002631/0.8317, allocations: 191.3 kB / 0.9664 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.8317, allocations: 28.81 kB / 0.9664 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.8323, allocations: 356.6 kB / 0.9667 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.8323, allocations: 2.938 kB / 0.9667 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8323, allocations: 1 kB / 0.9667 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.8324, allocations: 7.922 kB / 0.9667 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.8334, allocations: 0.7227 MB / 0.9674 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8334, allocations: 3.984 kB / 0.9674 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.8335, allocations: 15.72 kB / 0.9675 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8335, allocations: 5.969 kB / 0.9675 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.8335, allocations: 10.98 kB / 0.9675 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8335, allocations: 0.9688 kB / 0.9675 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8335, allocations: 3.984 kB / 0.9675 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.8341, allocations: 416.2 kB / 0.9679 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.8342, allocations: 104.9 kB / 0.968 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.8342, allocations: 13.95 kB / 0.968 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.8344, allocations: 7.875 kB / 0.968 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.8344, allocations: 22.19 kB / 0.968 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.8344, allocations: 12.05 kB / 0.968 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000195/0.8346, allocations: 191.3 kB / 0.9682 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8347, allocations: 0 / 0.9682 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004981/0.8352, allocations: 85.03 kB / 0.9683 GB, free: 14.56 MB / 0.7325 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.0002175/0.8354, allocations: 134 kB / 0.9684 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000921/0.8363, allocations: 0.6613 MB / 0.9691 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8363, allocations: 0.8125 kB / 0.9691 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.8365, allocations: 138.6 kB / 0.9692 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.837, allocations: 64.28 kB / 0.9693 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.838, allocations: 0.6169 MB / 0.9699 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.8384, allocations: 0.768 MB / 0.9706 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.8384, allocations: 30.78 kB / 0.9706 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8384, allocations: 3.938 kB / 0.9707 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.007998/0.8465, allocations: 4.348 MB / 0.9749 GB, free: 10.48 MB / 0.7325 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