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.007723/0.007723, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001218/0.001218, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002424/0.3405, allocations: 1.023 MB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.3427, allocations: 1.46 MB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3428, allocations: 4 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.3431, allocations: 23.67 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.3432, allocations: 51.58 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3447, allocations: 482.7 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007596/0.3454, allocations: 0.5232 MB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.3458, allocations: 134.5 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.3461, allocations: 199.5 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.3465, allocations: 199.3 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3466, allocations: 52 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3468, allocations: 63.98 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.3469, allocations: 63.77 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.3472, allocations: 187.3 kB / 1.171 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.3477, allocations: 0.5187 MB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3478, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.367e-06/0.3478, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.3478, allocations: 3.938 kB / 1.171 GB, free: 2.348 MB / 0.92 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.001029/0.3488, allocations: 0.6967 MB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3489, allocations: 12.03 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/0.349, allocations: 50.73 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3491, allocations: 44.55 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009734/0.3501, allocations: 360 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.3501, allocations: 28.69 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.3502, allocations: 36.38 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.3506, allocations: 240.6 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3506, allocations: 0 / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.3507, allocations: 8 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3507, allocations: 8 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.3509, allocations: 143.2 kB / 1.173 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3521, allocations: 0.7615 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.3524, allocations: 192.5 kB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.3527, allocations: 207.1 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3528, allocations: 4 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.3531, allocations: 245.2 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/0.3531, allocations: 3.984 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.000704/0.3538, allocations: 426.3 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.3539, allocations: 114.8 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.3542, allocations: 282.5 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.3543, allocations: 37.7 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3544, allocations: 160.5 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3545, allocations: 67.25 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3547, allocations: 141.6 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3549, allocations: 338.8 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.3552, allocations: 200.7 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.3557, allocations: 319.9 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.3564, allocations: 0.5272 MB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3564, allocations: 0 / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001134/0.3575, allocations: 0.7247 MB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.246e-05/0.3576, allocations: 122.8 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3576, allocations: 8.391 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.3577, allocations: 8 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.3578, allocations: 19.92 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3578, allocations: 8 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.3584, allocations: 135.4 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.3585, allocations: 75.78 kB / 1.178 GB, free: 11.23 MB / 0.9356 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.0002396/0.3588, allocations: 177.8 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.3589, allocations: 31.72 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.3594, allocations: 352.2 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3594, allocations: 4 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3594, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3594, allocations: 0 / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.3604, allocations: 0.7217 MB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3604, allocations: 7.938 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.3605, allocations: 23.92 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3605, allocations: 0 / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3605, allocations: 11.94 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3605, allocations: 0 / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3605, allocations: 0 / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.361, allocations: 408.2 kB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.3611, allocations: 112.7 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3612, allocations: 19.88 kB / 1.179 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3613, allocations: 11.98 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.3614, allocations: 15.98 kB / 1.179 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3614, allocations: 11.98 kB / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001871/0.3616, allocations: 197.9 kB / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3616, allocations: 0 / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004237/0.362, allocations: 83.94 kB / 1.18 GB, free: 8.957 MB / 0.9356 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.0008921/0.3629, allocations: 0.9725 MB / 1.181 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.3638, allocations: 0.6619 MB / 1.181 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3639, allocations: 0 / 1.181 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3641, allocations: 144 kB / 1.181 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.3645, allocations: 56.45 kB / 1.181 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.3695, allocations: 3.602 MB / 1.185 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.37, allocations: 0.7648 MB / 1.186 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.3702, allocations: 70.91 kB / 1.186 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.3704, allocations: 103.4 kB / 1.186 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of SimCode: time 8.92e-07/0.3704, allocations: 0 / 1.186 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.3998, allocations: 7.823 MB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.39, allocations: 0 / 1.193 GB, free: 10.66 MB / 0.9512 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