Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009386/0.009386, allocations: 97.41 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.001948/0.001948, allocations: 197 kB / 16.67 MB, free: 5.973 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003639/0.3653, allocations: 1.031 MB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003542/0.3689, allocations: 1.459 MB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.3691, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3694, allocations: 31.67 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.3696, allocations: 47.64 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.3718, allocations: 473.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.3729, allocations: 0.531 MB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.3734, allocations: 131.9 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.3738, allocations: 211.5 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.3743, allocations: 187.4 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.3745, allocations: 48 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.3748, allocations: 67.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.375, allocations: 63.78 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.3754, allocations: 195.2 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009234/0.3763, allocations: 0.5138 MB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3763, allocations: 4 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3763, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.3764, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 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.001658/0.378, allocations: 0.7063 MB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.3781, allocations: 8.031 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.3782, allocations: 54.73 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.3785, allocations: 44.72 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.38, allocations: 372.1 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.3801, allocations: 20.75 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.3802, allocations: 36.38 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.3808, allocations: 244.5 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3808, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.3809, allocations: 12 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3809, allocations: 4 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.3813, allocations: 139.3 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3834, allocations: 0.7694 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.3839, allocations: 178.5 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.3844, allocations: 212.8 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3844, allocations: 0 / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.3849, allocations: 245.8 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.435e-06/0.3849, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001147/0.3861, allocations: 422.5 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3862, allocations: 118.8 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.3867, allocations: 290.5 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.3868, allocations: 41.7 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3871, allocations: 160.8 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3872, allocations: 67.53 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.3876, allocations: 137.6 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3878, allocations: 342.8 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.3885, allocations: 200.7 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.3893, allocations: 324 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3903, allocations: 0.5233 MB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.3903, allocations: 4 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001807/0.3921, allocations: 0.7211 MB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.3923, allocations: 122.8 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3923, allocations: 4 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.3923, allocations: 7.984 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3925, allocations: 27.92 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.3925, allocations: 7.938 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.3936, allocations: 131.8 kB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.3937, allocations: 67.86 kB / 1.178 GB, free: 11.16 MB / 0.9356 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.0003183/0.3941, allocations: 189.7 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.3941, allocations: 27.81 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008035/0.395, allocations: 360.2 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.395, allocations: 4 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.395, allocations: 0 / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.395, allocations: 7.938 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3962, allocations: 0.7139 MB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3963, allocations: 0 / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.3964, allocations: 19.92 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3964, allocations: 0 / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.3964, allocations: 11.94 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3964, allocations: 0 / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3964, allocations: 0 / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.3971, allocations: 428.3 kB / 1.179 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.3972, allocations: 104.9 kB / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.3972, allocations: 11.88 kB / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3974, allocations: 15.92 kB / 1.179 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.3975, allocations: 19.98 kB / 1.179 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.3975, allocations: 15.98 kB / 1.179 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002312/0.3978, allocations: 186 kB / 1.18 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3978, allocations: 4 kB / 1.18 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006093/0.3984, allocations: 84 kB / 1.18 GB, free: 8.883 MB / 0.9356 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.001045/0.3994, allocations: 0.9779 MB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.4006, allocations: 0.6613 MB / 1.181 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4006, allocations: 0 / 1.181 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.4009, allocations: 143.8 kB / 1.181 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.4016, allocations: 73.25 kB / 1.181 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.4064, allocations: 3.602 MB / 1.185 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.4068, allocations: 0.7609 MB / 1.186 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.407, allocations: 66.92 kB / 1.186 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.4071, allocations: 103.4 kB / 1.186 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of SimCode: time 8.51e-07/0.4071, allocations: 0 / 1.186 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.4379, allocations: 7.811 MB / 1.194 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.606, allocations: 9.375 kB / 1.194 GB, free: 10.57 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches