Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_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.01196/0.01196, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.002043/0.002044, allocations: 196.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.27/2.27, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.472/3.472, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 63.52 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5218, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.004827/0.5267, allocations: 1.028 MB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.5308, allocations: 1.461 MB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.5312, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.5316, allocations: 35.61 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.5319, allocations: 35.59 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.5344, allocations: 476.1 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.5356, allocations: 0.531 MB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.5361, allocations: 131 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.5365, allocations: 203.6 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.537, allocations: 199.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.5372, allocations: 48 kB / 1.092 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.5374, allocations: 63.98 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.5376, allocations: 63.83 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.538, allocations: 195.2 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009571/0.539, allocations: 0.5148 MB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.539, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.494e-06/0.539, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.539, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 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.001563/0.5406, allocations: 0.6812 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.554e-05/0.5407, allocations: 15.91 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.604e-05/0.5408, allocations: 54.73 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.541, allocations: 44.55 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.5426, allocations: 356.2 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.5427, allocations: 28.73 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5428, allocations: 36.12 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.5435, allocations: 236.3 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5435, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.5436, allocations: 8 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5436, allocations: 8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.544, allocations: 143.2 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.5462, allocations: 0.7576 MB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.5467, allocations: 182.4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.5472, allocations: 222.3 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.5472, allocations: 4 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/0.5478, allocations: 235.9 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 5.53e-06/0.5478, allocations: 0 / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.001263/0.5491, allocations: 430.2 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.5493, allocations: 114.8 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.5498, allocations: 286.4 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.5499, allocations: 41.7 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.5502, allocations: 160.6 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.5503, allocations: 55.34 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.5506, allocations: 141.5 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.5509, allocations: 338.8 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.5516, allocations: 200.7 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/0.5524, allocations: 327.8 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.5538, allocations: 0.5233 MB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.5538, allocations: 4 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002043/0.5559, allocations: 0.713 MB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.5561, allocations: 126.7 kB / 1.099 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.5561, allocations: 4 kB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.439e-05/0.5562, allocations: 15.92 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.5564, allocations: 23.92 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.5564, allocations: 7.938 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5577, allocations: 127.9 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.558, allocations: 71.86 kB / 1.099 GB, free: 5.953 MB / 0.8575 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.0004426/0.5584, allocations: 185.7 kB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.5585, allocations: 27.62 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5596, allocations: 365 kB / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5597, allocations: 8 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.5597, allocations: 3.938 kB / 1.099 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5597, allocations: 0 / 1.099 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.5612, allocations: 0.7095 MB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5612, allocations: 0 / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5613, allocations: 27.91 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.5614, allocations: 3.938 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.5614, allocations: 8 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5614, allocations: 8 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5614, allocations: 0 / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.5622, allocations: 408.7 kB / 1.1 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.5623, allocations: 112.6 kB / 1.101 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.5624, allocations: 4 kB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.5626, allocations: 12 kB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.5627, allocations: 23.97 kB / 1.101 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.5627, allocations: 15.98 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002942/0.563, allocations: 190 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.365e-06/0.5631, allocations: 0 / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008146/0.5639, allocations: 99.88 kB / 1.101 GB, free: 3.668 MB / 0.8575 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.001368/0.5653, allocations: 0.9682 MB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.5669, allocations: 0.6574 MB / 1.103 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.567, allocations: 8 kB / 1.103 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.5673, allocations: 132.7 kB / 1.103 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.5683, allocations: 61.33 kB / 1.103 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/0.5762, allocations: 3.601 MB / 1.106 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.5767, allocations: 0.7648 MB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000311/0.5771, allocations: 62.92 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.5773, allocations: 99.39 kB / 1.107 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of SimCode: time 1.402e-06/0.5773, allocations: 0 / 1.107 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.6244, allocations: 7.821 MB / 1.115 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.02, allocations: 9.406 kB / 1.115 GB, free: 5.375 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches