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.01136/0.01136, allocations: 100.6 kB / 15.73 MB, free: 5.953 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.002408/0.002408, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.843/1.843, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.863/3.863, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464/1.466, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003643/1.47, allocations: 1.031 MB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003714/1.474, allocations: 1.46 MB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/1.474, allocations: 7.938 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/1.474, allocations: 27.67 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/1.474, allocations: 35.59 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/1.476, allocations: 484.7 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001073/1.478, allocations: 0.531 MB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/1.478, allocations: 131.7 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/1.478, allocations: 203.6 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/1.479, allocations: 187.4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/1.479, allocations: 48 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/1.479, allocations: 63.98 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/1.479, allocations: 75.69 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/1.48, allocations: 187.3 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009601/1.481, allocations: 0.5174 MB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.481, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.585e-06/1.481, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.481, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 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.002033/1.483, allocations: 0.7042 MB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001669/1.483, allocations: 12.62 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/1.483, allocations: 58.72 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/1.483, allocations: 36.8 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.485, allocations: 372.1 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/1.485, allocations: 24.75 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.485, allocations: 40.36 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/1.486, allocations: 232.6 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.486, allocations: 7.922 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/1.486, allocations: 12 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.486, allocations: 8 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/1.486, allocations: 139.3 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/1.489, allocations: 0.7655 MB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/1.489, allocations: 182.5 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/1.49, allocations: 218.9 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.49, allocations: 0 / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006359/1.491, allocations: 248.1 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/1.491, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001233/1.492, allocations: 430.4 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.492, allocations: 110.8 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/1.493, allocations: 282.5 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.043e-05/1.493, allocations: 41.69 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/1.493, allocations: 156.9 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/1.493, allocations: 67.47 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/1.493, allocations: 141.6 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0005035/1.494, allocations: 342.8 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008211/1.495, allocations: 196.7 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/1.496, allocations: 330.7 kB / 1.176 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.497, allocations: 0.5232 MB / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.497, allocations: 0 / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002192/1.499, allocations: 0.7132 MB / 1.177 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.499, allocations: 127.2 kB / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.499, allocations: 8 kB / 1.177 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-05/1.499, allocations: 4 kB / 1.177 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/1.499, allocations: 31.86 kB / 1.177 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.5, allocations: 4 kB / 1.177 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.501, allocations: 127.6 kB / 1.177 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.501, allocations: 67.86 kB / 1.178 GB, free: 7.699 MB / 0.9044 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.0003897/1.501, allocations: 193.6 kB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/1.501, allocations: 31.81 kB / 1.178 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/1.502, allocations: 353.4 kB / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.502, allocations: 4 kB / 1.178 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.502, allocations: 3.938 kB / 1.178 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.502, allocations: 0 / 1.178 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.504, allocations: 0.7222 MB / 1.179 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.504, allocations: 0 / 1.179 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/1.504, allocations: 15.98 kB / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.504, allocations: 0 / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/1.504, allocations: 15.88 kB / 1.179 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.504, allocations: 3.938 kB / 1.179 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.504, allocations: 0 / 1.179 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/1.505, allocations: 420.6 kB / 1.179 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/1.505, allocations: 116.8 kB / 1.179 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.506, allocations: 11.94 kB / 1.179 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/1.506, allocations: 11.98 kB / 1.179 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/1.506, allocations: 23.97 kB / 1.179 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/1.506, allocations: 12 kB / 1.179 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003545/1.506, allocations: 186 kB / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.506, allocations: 0 / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008861/1.507, allocations: 87.92 kB / 1.18 GB, free: 5.414 MB / 0.9044 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.001505/1.509, allocations: 0.9837 MB / 1.181 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00188/1.511, allocations: 0.6548 MB / 1.181 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.511, allocations: 4.062 kB / 1.181 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/1.511, allocations: 143.8 kB / 1.181 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/1.512, allocations: 62.95 kB / 1.181 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009053/1.521, allocations: 3.596 MB / 1.185 GB, free: 15.71 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/1.522, allocations: 0.7649 MB / 1.186 GB, free: 14.93 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003412/1.522, allocations: 74.84 kB / 1.186 GB, free: 14.86 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/1.523, allocations: 95.41 kB / 1.186 GB, free: 14.76 MB / 0.92 GB Notification: Performance of SimCode: time 1.543e-06/1.523, allocations: 0 / 1.186 GB, free: 14.76 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/1.575, allocations: 7.822 MB / 1.194 GB, free: 7.105 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.64, allocations: 8 kB / 1.194 GB, free: 7.098 MB / 0.92 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