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.005273/0.005273, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001405/0.001405, allocations: 190.7 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 2.335/2.335, allocations: 437.1 MB / 0.7106 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 71.81 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6268, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001968/0.6288, allocations: 1.035 MB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.6305, allocations: 1.459 MB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.6306, allocations: 4 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.6307, allocations: 23.67 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.6308, allocations: 39.59 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009503/0.6317, allocations: 475.4 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.6322, allocations: 0.5349 MB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.6324, allocations: 131.7 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.6326, allocations: 199.6 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.6329, allocations: 199.2 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.633, allocations: 52 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.6331, allocations: 67.97 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.6332, allocations: 55.84 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.6334, allocations: 191.2 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.6339, allocations: 0.5174 MB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6339, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6339, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6339, allocations: 0 / 1.171 GB, free: 14.79 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.00079/0.6347, allocations: 0.7119 MB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6347, allocations: 12.92 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.6348, allocations: 54.67 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.6349, allocations: 36.8 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.6357, allocations: 368.2 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.6358, allocations: 28.75 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.6358, allocations: 32.38 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.6362, allocations: 236.6 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6362, allocations: 3.984 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.6362, allocations: 8 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.6363, allocations: 12 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.6365, allocations: 143.2 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.6375, allocations: 0.7616 MB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.6378, allocations: 188.7 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.638, allocations: 212.7 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.6381, allocations: 4 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.6384, allocations: 248.1 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.6384, allocations: 0 / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.0006236/0.639, allocations: 426.5 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.6391, allocations: 110.8 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.6394, allocations: 286.5 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.6394, allocations: 37.7 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.6395, allocations: 160.9 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.6396, allocations: 71.47 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.6398, allocations: 141.6 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.64, allocations: 342.8 kB / 1.175 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.6403, allocations: 196.7 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.6407, allocations: 323.9 kB / 1.176 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.6413, allocations: 0.5193 MB / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6413, allocations: 0 / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001015/0.6424, allocations: 0.721 MB / 1.177 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.866e-05/0.6424, allocations: 123.2 kB / 1.177 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6425, allocations: 8 kB / 1.177 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6425, allocations: 4 kB / 1.177 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.6426, allocations: 27.86 kB / 1.177 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.6426, allocations: 11.98 kB / 1.177 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.6432, allocations: 123.6 kB / 1.177 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.6433, allocations: 71.8 kB / 1.178 GB, free: 7.66 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.0001871/0.6435, allocations: 189.7 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.6435, allocations: 31.81 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.644, allocations: 352.2 kB / 1.178 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.644, allocations: 7.984 kB / 1.178 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.644, allocations: 0 / 1.178 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6441, allocations: 7.984 kB / 1.178 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.6448, allocations: 0.7191 MB / 1.179 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6448, allocations: 0 / 1.179 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.6449, allocations: 15.94 kB / 1.179 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6449, allocations: 0 / 1.179 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6449, allocations: 15.92 kB / 1.179 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6449, allocations: 0 / 1.179 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.645, allocations: 0 / 1.179 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.6454, allocations: 416.6 kB / 1.179 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.6455, allocations: 108.9 kB / 1.179 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.6455, allocations: 19.92 kB / 1.179 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6456, allocations: 11.94 kB / 1.179 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.6457, allocations: 19.97 kB / 1.179 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.6457, allocations: 11.98 kB / 1.179 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000175/0.6459, allocations: 197.9 kB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6459, allocations: 0 / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003393/0.6462, allocations: 83.94 kB / 1.18 GB, free: 5.379 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.0007618/0.647, allocations: 0.9799 MB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007917/0.6478, allocations: 0.6624 MB / 1.181 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6478, allocations: 4.125 kB / 1.181 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.648, allocations: 139.9 kB / 1.181 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.6484, allocations: 52.52 kB / 1.181 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.6526, allocations: 3.608 MB / 1.185 GB, free: 15.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6529, allocations: 0.7688 MB / 1.186 GB, free: 14.88 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000132/0.6531, allocations: 70.86 kB / 1.186 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.6532, allocations: 99.39 kB / 1.186 GB, free: 14.72 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.6532, allocations: 0 / 1.186 GB, free: 14.72 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.186/3.839, allocations: 7.824 MB / 1.194 GB, free: 7.059 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/14.34, allocations: 9.953 kB / 1.194 GB, free: 7.051 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 & /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=400 --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