Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001559/0.001559, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.06 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3507, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002847/0.3536, allocations: 1.085 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3559, allocations: 1.466 MB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3561, allocations: 4 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.3563, allocations: 15.8 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3564, allocations: 31.72 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.3576, allocations: 430.8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.3582, allocations: 0.531 MB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.3585, allocations: 127.7 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.3589, allocations: 207.5 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3592, allocations: 171.4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.3593, allocations: 48 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3595, allocations: 63.98 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.3595, allocations: 59.83 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3598, allocations: 195.2 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.3603, allocations: 0.5027 MB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3603, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.636e-06/0.3603, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.3603, allocations: 3.938 kB / 1.057 GB, free: 3.699 MB / 0.8106 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.001057/0.3614, allocations: 0.6928 MB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3614, allocations: 8.625 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/0.3615, allocations: 58.72 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.3617, allocations: 44.5 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3627, allocations: 364.1 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.3627, allocations: 24.75 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.3628, allocations: 32.38 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.3632, allocations: 232.9 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3633, allocations: 3.984 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.3633, allocations: 7.984 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.3633, allocations: 8 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.3635, allocations: 147.2 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3648, allocations: 0.7537 MB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3651, allocations: 192 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3653, allocations: 218.6 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3654, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.3657, allocations: 252.5 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.3657, allocations: 0 / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006733/0.3664, allocations: 422.9 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.3665, allocations: 110.8 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3667, allocations: 282.5 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.3668, allocations: 37.7 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.367, allocations: 160.6 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.367, allocations: 63.28 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.3673, allocations: 141.5 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3674, allocations: 342.8 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.3677, allocations: 200.7 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.3681, allocations: 319.9 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.3687, allocations: 0.5193 MB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3687, allocations: 8 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001034/0.3698, allocations: 0.7128 MB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.3699, allocations: 122.8 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3699, allocations: 4 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3699, allocations: 8.406 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.37, allocations: 23.92 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.37, allocations: 11.92 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.3707, allocations: 123.5 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3708, allocations: 79.78 kB / 1.064 GB, free: 12.61 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.000207/0.371, allocations: 189.7 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.3711, allocations: 27.62 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/0.3716, allocations: 356.3 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3716, allocations: 4 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3716, allocations: 0 / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3716, allocations: 3.984 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.3725, allocations: 0.7211 MB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3725, allocations: 4 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.3726, allocations: 15.94 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3726, allocations: 7.984 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3726, allocations: 15.92 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3726, allocations: 0 / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3726, allocations: 4 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.373, allocations: 411.8 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.3731, allocations: 104.7 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3732, allocations: 15.92 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3733, allocations: 11.94 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3734, allocations: 23.97 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3734, allocations: 11.98 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001636/0.3736, allocations: 197.9 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3736, allocations: 0 / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004088/0.374, allocations: 84 kB / 1.066 GB, free: 10.33 MB / 0.8262 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.001117/0.3751, allocations: 0.9719 MB / 1.067 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.3762, allocations: 0.693 MB / 1.067 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3762, allocations: 0 / 1.067 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3764, allocations: 139.8 kB / 1.068 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.3769, allocations: 61.33 kB / 1.068 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.3815, allocations: 3.662 MB / 1.071 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3818, allocations: 0.7648 MB / 1.072 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.382, allocations: 70.91 kB / 1.072 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3822, allocations: 99.41 kB / 1.072 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.3822, allocations: 3.938 kB / 1.072 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.4093, allocations: 7.659 MB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.4096, allocations: 219.2 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.472, allocations: 3.375 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches