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.0007773/0.0007776, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005876/0.005876, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.573/2.573, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.6616, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001446/0.6631, allocations: 0.7294 MB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.6652, allocations: 1.51 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.6654, allocations: 11.94 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.6655, allocations: 11.86 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.6656, allocations: 35.7 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.6667, allocations: 431.4 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.6672, allocations: 451.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.6674, allocations: 127.7 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.6677, allocations: 155.6 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.6679, allocations: 135.4 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.668, allocations: 20 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.6681, allocations: 35.92 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.6681, allocations: 43.84 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.6683, allocations: 181 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.6688, allocations: 496.6 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6689, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6689, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6689, allocations: 0 / 1.027 GB, free: 11.54 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.0007093/0.6696, allocations: 0.6012 MB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6696, allocations: 8.031 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.6697, allocations: 54.73 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.6698, allocations: 40.56 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009145/0.6707, allocations: 376.1 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.6708, allocations: 28.73 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.6709, allocations: 32.38 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.6713, allocations: 232.9 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6713, allocations: 4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.6713, allocations: 8 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6713, allocations: 4 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.6716, allocations: 155 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.6727, allocations: 0.7652 MB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.673, allocations: 190.4 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.6733, allocations: 204.8 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.6733, allocations: 8 kB / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.6736, allocations: 241 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.6736, allocations: 0 / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006357/0.6742, allocations: 424.4 kB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.6743, allocations: 118.8 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.6746, allocations: 290.4 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.6746, allocations: 37.7 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.6748, allocations: 156.6 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.6748, allocations: 59.25 kB / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.6749, allocations: 65.67 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.675, allocations: 342.8 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.6754, allocations: 204.3 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.6758, allocations: 326.8 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.6764, allocations: 0.5193 MB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6764, allocations: 4 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001109/0.6775, allocations: 0.7176 MB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.6776, allocations: 126.8 kB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6776, allocations: 4 kB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6776, allocations: 8 kB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.6777, allocations: 19.92 kB / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.6777, allocations: 4 kB / 1.034 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.6784, allocations: 175.8 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6785, allocations: 71.8 kB / 1.034 GB, free: 4.555 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.0002024/0.6787, allocations: 185.8 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.6788, allocations: 31.61 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.6793, allocations: 364.5 kB / 1.034 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6793, allocations: 4 kB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6793, allocations: 0 / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6793, allocations: 0 / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.6801, allocations: 0.7128 MB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6801, allocations: 0 / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.6802, allocations: 27.86 kB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6802, allocations: 4 kB / 1.035 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.6802, allocations: 7.938 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6802, allocations: 4 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6802, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.6807, allocations: 415.6 kB / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.6807, allocations: 108.7 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.6808, allocations: 11.94 kB / 1.036 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.6809, allocations: 15.98 kB / 1.036 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.681, allocations: 23.91 kB / 1.036 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.681, allocations: 12 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001601/0.6811, allocations: 186 kB / 1.036 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6811, allocations: 0 / 1.036 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003712/0.6815, allocations: 91.98 kB / 1.036 GB, free: 2.277 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.0008125/0.6823, allocations: 0.9758 MB / 1.037 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008571/0.6832, allocations: 0.666 MB / 1.037 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6832, allocations: 0 / 1.037 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.6834, allocations: 136.4 kB / 1.038 GB, free: 440 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.6839, allocations: 61.02 kB / 1.038 GB, free: 380 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.6883, allocations: 3.658 MB / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6886, allocations: 0.7688 MB / 1.042 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.6888, allocations: 66.91 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.6889, allocations: 107.4 kB / 1.042 GB, free: 11.55 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.6889, allocations: 0 / 1.042 GB, free: 11.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.7075, allocations: 7.319 MB / 1.049 GB, free: 4.457 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.7078, allocations: 223.4 kB / 1.05 GB, free: 4.195 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.583, allocations: 4 kB / 1.05 GB, free: 4.191 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