Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_11_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.001563/0.001564, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 66.92 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2576, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002191/0.2598, allocations: 1.042 MB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2616, allocations: 1.455 MB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.2617, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.2618, allocations: 27.67 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.2619, allocations: 47.56 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.2629, allocations: 462.9 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.2634, allocations: 0.5271 MB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.2636, allocations: 136.4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.2638, allocations: 195.6 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.264, allocations: 167.3 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.107e-05/0.2641, allocations: 55.98 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2642, allocations: 63.98 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2643, allocations: 55.84 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.2645, allocations: 191.2 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.265, allocations: 0.5105 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.265, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2651, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2651, allocations: 4 kB / 1.069 GB, free: 9.258 MB / 0.8262 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.00082/0.2659, allocations: 0.6889 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2659, allocations: 8.031 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.266, allocations: 62.66 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.2661, allocations: 40.56 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.267, allocations: 368.1 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.2671, allocations: 24.75 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.2671, allocations: 32.38 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.2675, allocations: 236.8 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2675, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2675, allocations: 8 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2676, allocations: 7.984 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.2678, allocations: 147 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2689, allocations: 0.7691 MB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.2692, allocations: 192.1 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.2694, allocations: 210 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2695, allocations: 7.938 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.2698, allocations: 237.1 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.262e-06/0.2698, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006451/0.2704, allocations: 425 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.2705, allocations: 110.8 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.2708, allocations: 278.5 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.2709, allocations: 49.64 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.271, allocations: 164.6 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.2711, allocations: 55.28 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.2713, allocations: 145.5 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2714, allocations: 342.8 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.2718, allocations: 196.7 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.2722, allocations: 327.9 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.2729, allocations: 0.5232 MB / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2729, allocations: 0 / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001056/0.2739, allocations: 0.717 MB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/0.274, allocations: 122.8 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.274, allocations: 7.938 kB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2741, allocations: 4 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.2741, allocations: 23.92 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2742, allocations: 11.98 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.2748, allocations: 123.6 kB / 1.075 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.2749, allocations: 75.8 kB / 1.075 GB, free: 2.152 MB / 0.8262 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.0001911/0.2751, allocations: 181.7 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2751, allocations: 31.62 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.2756, allocations: 365 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2756, allocations: 7.922 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2756, allocations: 0 / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2756, allocations: 8 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.2765, allocations: 0.7051 MB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2765, allocations: 0 / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.2765, allocations: 23.92 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2766, allocations: 4 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2766, allocations: 7.938 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2766, allocations: 0 / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2766, allocations: 4 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.277, allocations: 411.6 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.2771, allocations: 112.6 kB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.2772, allocations: 7.938 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2773, allocations: 8 kB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2773, allocations: 27.97 kB / 1.077 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2774, allocations: 15.98 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001857/0.2775, allocations: 189.9 kB / 1.077 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2776, allocations: 0 / 1.077 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003593/0.2779, allocations: 88 kB / 1.078 GB, free: 15.88 MB / 0.8419 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.0008026/0.2787, allocations: 0.9798 MB / 1.078 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008943/0.2796, allocations: 0.6886 MB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2796, allocations: 0.8125 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2798, allocations: 140.6 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2803, allocations: 66.23 kB / 1.079 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.2846, allocations: 3.604 MB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.285, allocations: 0.7648 MB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.2852, allocations: 70.86 kB / 1.084 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2853, allocations: 95.41 kB / 1.084 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2853, allocations: 3.938 kB / 1.084 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/1.521, allocations: 7.754 MB / 1.091 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.81, allocations: 3.641 kB / 1.091 GB, free: 1.594 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches