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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001203/0.001203, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 72.95 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4147, allocations: 157.4 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003275/0.418, allocations: 1.07 MB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4201, allocations: 1.474 MB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.4203, allocations: 7.938 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.4204, allocations: 19.8 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.4205, allocations: 27.78 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.4217, allocations: 439.8 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.4223, allocations: 0.5232 MB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.4226, allocations: 135.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.4228, allocations: 199.6 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.423, allocations: 175.3 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.4231, allocations: 52 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.4233, allocations: 59.98 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.4234, allocations: 59.78 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.4236, allocations: 195.2 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.4241, allocations: 0.5105 MB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4242, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4242, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4242, allocations: 0 / 1.057 GB, free: 3.82 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.001033/0.4252, allocations: 0.6928 MB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4253, allocations: 8.625 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4254, allocations: 36.66 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.4264, allocations: 364.1 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4265, allocations: 24.75 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.4266, allocations: 40.36 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.427, allocations: 233 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.427, allocations: 3.938 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.427, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.427, allocations: 8 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.4273, allocations: 143.3 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.4285, allocations: 0.7692 MB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.4288, allocations: 186.5 kB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.4291, allocations: 206.2 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4291, allocations: 0 / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.4295, allocations: 256.4 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.4295, allocations: 0 / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006767/0.4302, allocations: 418.8 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.4302, allocations: 114.8 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.4305, allocations: 274.5 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.4306, allocations: 45.69 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4307, allocations: 156.7 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.4308, allocations: 63.19 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.431, allocations: 141.5 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.4312, allocations: 346.8 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.4317, allocations: 204.7 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.4321, allocations: 323.9 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.4329, allocations: 0.5193 MB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4329, allocations: 4 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001039/0.4339, allocations: 0.7089 MB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/0.434, allocations: 126.8 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4341, allocations: 4 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4341, allocations: 8 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4342, allocations: 28.31 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4342, allocations: 11.94 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.4348, allocations: 127.5 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.435, allocations: 67.92 kB / 1.064 GB, free: 12.8 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.0002191/0.4352, allocations: 195.1 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.4353, allocations: 27.62 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.4358, allocations: 356.4 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4358, allocations: 4 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4358, allocations: 3.938 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4358, allocations: 0 / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.4367, allocations: 0.7133 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4367, allocations: 4 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.4368, allocations: 19.92 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4368, allocations: 4 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4368, allocations: 8 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4368, allocations: 3.938 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4368, allocations: 0 / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.4373, allocations: 423.8 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.4374, allocations: 100.8 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.4374, allocations: 11.91 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4376, allocations: 15.92 kB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.4376, allocations: 19.97 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.4376, allocations: 12 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001835/0.4378, allocations: 186 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4378, allocations: 8 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003999/0.4382, allocations: 87.98 kB / 1.066 GB, free: 10.53 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.0002253/0.4385, allocations: 121.4 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.4395, allocations: 0.6854 MB / 1.066 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4395, allocations: 4.125 kB / 1.066 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.4397, allocations: 147.8 kB / 1.067 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4402, allocations: 61.89 kB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.4411, allocations: 0.5844 MB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4415, allocations: 0.7648 MB / 1.068 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.4417, allocations: 70.91 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.4418, allocations: 35.42 kB / 1.068 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4418, allocations: 0 / 1.068 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.009389/0.4512, allocations: 4.964 MB / 1.073 GB, free: 3.047 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