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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001323/0.001323, 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.001271/0.001271, allocations: 193.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.284/1.284, 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 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5498, allocations: 151.6 MB / 1.017 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002216/0.5521, allocations: 1.08 MB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.554, allocations: 1.522 MB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.5541, allocations: 4 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.5543, allocations: 15.8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.5544, allocations: 31.72 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009971/0.5554, allocations: 431.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.5557, allocations: 455.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.556, allocations: 123.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.5562, allocations: 183.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5564, allocations: 159.4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.5564, allocations: 32 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.5565, allocations: 35.98 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.5566, allocations: 55.84 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.5568, allocations: 171.2 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.5572, allocations: 496.9 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5572, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.093e-06/0.5573, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.5573, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 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.0008834/0.5582, allocations: 0.6889 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5582, allocations: 12.03 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/0.5583, allocations: 58.72 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.5584, allocations: 36.66 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.5593, allocations: 368 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.5594, allocations: 24.75 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.5594, allocations: 28.38 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.5598, allocations: 244.8 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5598, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.5599, allocations: 8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5599, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.5601, allocations: 151 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.5612, allocations: 0.7615 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.5615, allocations: 191.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.5618, allocations: 212.7 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5618, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.5621, allocations: 241 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.5621, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006541/0.5628, allocations: 424.6 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.5628, allocations: 114.8 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.5631, allocations: 286.4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.5632, allocations: 37.7 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5633, allocations: 156.7 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.5633, allocations: 59.25 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.5636, allocations: 141.5 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5637, allocations: 350.8 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.5641, allocations: 196.7 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.5645, allocations: 315.9 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.5651, allocations: 0.5232 MB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5651, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00108/0.5662, allocations: 0.7211 MB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.5663, allocations: 122.8 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5663, allocations: 4 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.5663, allocations: 4 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.5664, allocations: 19.92 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.5664, allocations: 12.39 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.5671, allocations: 135.4 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5672, allocations: 71.8 kB / 1.028 GB, free: 7.082 MB / 0.7794 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.0002242/0.5674, allocations: 185.8 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.5675, allocations: 31.62 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.568, allocations: 364.5 kB / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.568, allocations: 0 / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.568, allocations: 0 / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.568, allocations: 7.984 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.5689, allocations: 0.7167 MB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.569, allocations: 0 / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.569, allocations: 15.94 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.569, allocations: 3.938 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.5691, allocations: 15.92 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.5691, allocations: 0 / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5691, allocations: 4 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.5696, allocations: 415.6 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.5697, allocations: 104.8 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.5698, allocations: 15.83 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5699, allocations: 12 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.57, allocations: 19.97 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.57, allocations: 19.92 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001736/0.5702, allocations: 186 kB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5702, allocations: 0 / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004112/0.5706, allocations: 84 kB / 1.03 GB, free: 4.809 MB / 0.7794 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.0007851/0.5714, allocations: 0.9771 MB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008146/0.5722, allocations: 0.6659 MB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5722, allocations: 0 / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.5724, allocations: 140.4 kB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.5729, allocations: 73.06 kB / 1.032 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.5775, allocations: 3.648 MB / 1.035 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5779, allocations: 0.7651 MB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.578, allocations: 66.92 kB / 1.036 GB, free: 14.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5782, allocations: 103.4 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/0.5782, allocations: 0 / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05552/0.6337, allocations: 7.399 MB / 1.043 GB, free: 6.867 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.6339, allocations: 217.2 kB / 1.044 GB, free: 6.613 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.391, allocations: 7.438 kB / 1.044 GB, free: 6.609 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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