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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001624/0.001624, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.28 kB / 0.8984 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3611, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002602/0.3637, allocations: 1.085 MB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3659, allocations: 1.513 MB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.366, allocations: 7.938 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3661, allocations: 11.86 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.3662, allocations: 35.7 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.3672, allocations: 435.8 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.3678, allocations: 455.8 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.368, allocations: 119.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3682, allocations: 183.4 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.3684, allocations: 155.4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.3685, allocations: 28 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3686, allocations: 39.98 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.3687, allocations: 63.81 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.3689, allocations: 167.2 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.3694, allocations: 494.8 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3694, allocations: 4 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3694, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3694, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 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.000888/0.3703, allocations: 0.6967 MB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3703, allocations: 15.95 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3704, allocations: 36.66 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3715, allocations: 364.1 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.3715, allocations: 20.75 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.3716, allocations: 32.38 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.3721, allocations: 229.1 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3721, allocations: 7.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3721, allocations: 11.92 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3722, allocations: 11.98 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.3724, allocations: 143.3 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3736, allocations: 0.7653 MB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.3739, allocations: 183.3 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.3742, allocations: 217.4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3742, allocations: 0 / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.3746, allocations: 252.5 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/0.3746, allocations: 0 / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006822/0.3753, allocations: 419 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.3753, allocations: 106.8 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.3757, allocations: 286.5 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.3757, allocations: 41.7 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.376, allocations: 156.7 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.376, allocations: 63.19 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3763, allocations: 141.5 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003193/0.3766, allocations: 342.8 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3769, allocations: 200.6 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.3774, allocations: 320 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.3781, allocations: 0.5232 MB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3781, allocations: 4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001036/0.3791, allocations: 0.713 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.459e-05/0.3792, allocations: 124.4 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3792, allocations: 4 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3793, allocations: 8 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.3794, allocations: 35.8 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.3794, allocations: 11.92 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.3801, allocations: 127.6 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.3802, allocations: 63.92 kB / 1.063 GB, free: 13.02 MB / 0.8262 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.0002074/0.3805, allocations: 189.6 kB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3805, allocations: 31.62 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.381, allocations: 356.3 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.381, allocations: 4 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3811, allocations: 4 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3811, allocations: 3.984 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.382, allocations: 0.7133 MB / 1.064 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.382, allocations: 0 / 1.064 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.3821, allocations: 23.94 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3821, allocations: 4 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3821, allocations: 7.984 kB / 1.064 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3821, allocations: 7.938 kB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3821, allocations: 0 / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.3826, allocations: 415.8 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3827, allocations: 104.8 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.3827, allocations: 15.89 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3828, allocations: 15.94 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.3829, allocations: 19.97 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3829, allocations: 15.98 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002004/0.3831, allocations: 186 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3831, allocations: 0 / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003908/0.3835, allocations: 88 kB / 1.065 GB, free: 10.75 MB / 0.8262 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.0001792/0.3837, allocations: 129.4 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008028/0.3845, allocations: 0.6497 MB / 1.066 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3846, allocations: 4 kB / 1.066 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.3848, allocations: 143.8 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3852, allocations: 63.95 kB / 1.066 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.3862, allocations: 0.5784 MB / 1.067 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.3867, allocations: 0.7573 MB / 1.068 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.3869, allocations: 66.92 kB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.387, allocations: 39.42 kB / 1.068 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.387, allocations: 0 / 1.068 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.01056/0.3975, allocations: 4.766 MB / 1.072 GB, free: 3.516 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches