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.008215/0.008215, allocations: 101.8 kB / 15.73 MB, free: 6 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.001992/0.001992, allocations: 197.9 kB / 16.68 MB, free: 5.926 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 68.08 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8362, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003625/0.8398, allocations: 1.026 MB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.8428, allocations: 1.466 MB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.8431, allocations: 4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.8433, allocations: 23.67 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.8435, allocations: 39.64 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.8452, allocations: 472 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.8462, allocations: 0.5388 MB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.8466, allocations: 134.4 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.847, allocations: 199.6 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.8475, allocations: 191.4 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.8477, allocations: 48 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.8479, allocations: 63.98 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.848, allocations: 75.69 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.8484, allocations: 195.2 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.8491, allocations: 0.514 MB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8491, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8492, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.8492, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 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.001302/0.8505, allocations: 0.6889 MB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.8506, allocations: 8.031 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.848e-05/0.8506, allocations: 54.73 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.8508, allocations: 44.56 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.8522, allocations: 360.1 kB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.8522, allocations: 20.73 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.8524, allocations: 36.38 kB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.8529, allocations: 236.8 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.853, allocations: 4 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.853, allocations: 8 kB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.853, allocations: 4 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.8534, allocations: 143.3 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.8552, allocations: 0.7614 MB / 1.214 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.8555, allocations: 186.5 kB / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.8559, allocations: 216.8 kB / 1.215 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.856, allocations: 3.938 kB / 1.215 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.8564, allocations: 239.9 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.8564, allocations: 4 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0009796/0.8574, allocations: 423 kB / 1.215 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.8575, allocations: 110.8 kB / 1.216 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.8579, allocations: 286.4 kB / 1.216 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.858, allocations: 41.7 kB / 1.216 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.8582, allocations: 156.6 kB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.8583, allocations: 59.25 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.8586, allocations: 137.6 kB / 1.216 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8587, allocations: 350.7 kB / 1.217 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.8593, allocations: 196.7 kB / 1.217 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.8598, allocations: 320 kB / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.8604, allocations: 0.5193 MB / 1.218 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.8604, allocations: 4 kB / 1.218 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001068/0.8615, allocations: 0.7208 MB / 1.218 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/0.8616, allocations: 124.8 kB / 1.218 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.8616, allocations: 4 kB / 1.218 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.8617, allocations: 8 kB / 1.218 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.8618, allocations: 24.33 kB / 1.218 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.8618, allocations: 7.938 kB / 1.218 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.8624, allocations: 139.3 kB / 1.219 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8626, allocations: 71.86 kB / 1.219 GB, free: 1.488 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.0001983/0.8628, allocations: 189.7 kB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.8628, allocations: 23.72 kB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.8633, allocations: 364.7 kB / 1.219 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8633, allocations: 7.938 kB / 1.219 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8633, allocations: 0 / 1.219 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.8634, allocations: 3.984 kB / 1.219 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.8643, allocations: 0.7061 MB / 1.22 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8643, allocations: 0 / 1.22 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.8644, allocations: 23.92 kB / 1.22 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.8644, allocations: 4 kB / 1.22 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.8644, allocations: 15.92 kB / 1.22 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.8644, allocations: 0 / 1.22 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8645, allocations: 4 kB / 1.22 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.8649, allocations: 412.1 kB / 1.22 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.865, allocations: 104.7 kB / 1.22 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.865, allocations: 7.938 kB / 1.22 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.8652, allocations: 11.98 kB / 1.22 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.8652, allocations: 27.97 kB / 1.22 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.8653, allocations: 12 kB / 1.22 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001583/0.8654, allocations: 186 kB / 1.221 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8654, allocations: 0 / 1.221 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004034/0.8658, allocations: 91.98 kB / 1.221 GB, free: 15.22 MB / 0.9512 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.0007563/0.8666, allocations: 0.9725 MB / 1.222 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008426/0.8675, allocations: 0.6613 MB / 1.222 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8675, allocations: 0 / 1.222 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.8677, allocations: 140.6 kB / 1.222 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.8681, allocations: 64.41 kB / 1.223 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.8726, allocations: 3.598 MB / 1.226 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.8729, allocations: 0.7687 MB / 1.227 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.8731, allocations: 58.92 kB / 1.227 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.8732, allocations: 99.41 kB / 1.227 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.8733, allocations: 4 kB / 1.227 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.8993, allocations: 7.994 MB / 1.235 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.708, allocations: 21.66 kB / 1.235 GB, free: 0.7656 MB / 0.9512 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