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.00949/0.00949, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001977/0.001978, allocations: 195 kB / 16.67 MB, free: 5.977 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.608/2.608, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.41 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3495, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002574/0.3522, allocations: 1.028 MB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3545, allocations: 1.457 MB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3546, allocations: 7.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.3548, allocations: 23.67 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.3549, allocations: 39.66 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.356, allocations: 473.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.3566, allocations: 0.5349 MB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.357, allocations: 147.6 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3572, allocations: 195.6 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3575, allocations: 195.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.3576, allocations: 52 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.3577, allocations: 63.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.3578, allocations: 63.81 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.3581, allocations: 187.3 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.3587, allocations: 0.5179 MB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3587, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3587, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3587, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 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.0009755/0.3597, allocations: 0.685 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3598, allocations: 12.03 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3599, allocations: 44.48 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.3608, allocations: 356.2 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.3609, allocations: 28.75 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.361, allocations: 32.38 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.3615, allocations: 244.2 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3615, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.3615, allocations: 8 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3615, allocations: 8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.3618, allocations: 143.2 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3631, allocations: 0.7498 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.3634, allocations: 190.4 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.3637, allocations: 216.7 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3637, allocations: 4 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.3641, allocations: 243.8 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.3641, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007287/0.3648, allocations: 427 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.3649, allocations: 114.8 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.3652, allocations: 286.4 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.3653, allocations: 41.7 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3654, allocations: 156.6 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.3655, allocations: 59.3 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.3657, allocations: 145.5 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3658, allocations: 338.8 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3662, allocations: 196.7 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.3667, allocations: 323.9 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.3673, allocations: 0.5271 MB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3673, allocations: 0 / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001047/0.3684, allocations: 0.7251 MB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/0.3685, allocations: 124.2 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3685, allocations: 4 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3685, allocations: 7.984 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.3686, allocations: 19.92 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3686, allocations: 11.94 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.3693, allocations: 131.5 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.3694, allocations: 67.86 kB / 1.099 GB, free: 5.512 MB / 0.8575 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.0002055/0.3696, allocations: 189.6 kB / 1.099 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.3696, allocations: 31.62 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.3702, allocations: 357 kB / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3702, allocations: 7.984 kB / 1.1 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3702, allocations: 0 / 1.1 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3702, allocations: 7.938 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.371, allocations: 0.7135 MB / 1.1 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3711, allocations: 0 / 1.1 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.3711, allocations: 19.92 kB / 1.1 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3711, allocations: 7.875 kB / 1.1 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3712, allocations: 8 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3712, allocations: 4 kB / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3712, allocations: 0 / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.3717, allocations: 412.7 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.3718, allocations: 112.7 kB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3718, allocations: 11.94 kB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3719, allocations: 8 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.372, allocations: 19.97 kB / 1.101 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.372, allocations: 15.92 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001858/0.3722, allocations: 194 kB / 1.101 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3722, allocations: 0 / 1.101 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003878/0.3726, allocations: 83.94 kB / 1.101 GB, free: 3.238 MB / 0.8575 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.0001924/0.3728, allocations: 125.8 kB / 1.101 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.3737, allocations: 0.6613 MB / 1.102 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3737, allocations: 0.8125 kB / 1.102 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3739, allocations: 143.8 kB / 1.102 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3743, allocations: 64.39 kB / 1.102 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.3752, allocations: 0.5013 MB / 1.103 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3755, allocations: 0.7648 MB / 1.104 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.3757, allocations: 66.92 kB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.3757, allocations: 35.42 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of SimCode: time 1.843e-06/0.3757, allocations: 0 / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of Templates: time 0.009679/0.3854, allocations: 5.148 MB / 1.109 GB, free: 11.69 MB / 0.8731 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/jenkins/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