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.001701/0.001701, allocations: 112.5 kB / 15.73 MB, free: 76 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.001845/0.001845, allocations: 191.4 kB / 16.67 MB, free: 6.582 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.672/2.672, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2729, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002087/0.275, allocations: 1.032 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2768, allocations: 1.466 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.2769, allocations: 4 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.277, allocations: 27.67 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.2771, allocations: 39.64 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009627/0.278, allocations: 466.3 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.2786, allocations: 0.5427 MB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2788, allocations: 127.7 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.279, allocations: 203.6 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.2793, allocations: 191.3 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/0.2794, allocations: 48 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.2795, allocations: 67.92 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.2796, allocations: 71.77 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2798, allocations: 195.2 kB / 1.225 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.2803, allocations: 0.5099 MB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2803, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2803, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2803, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 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.0008342/0.2812, allocations: 0.7042 MB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2812, allocations: 8.031 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/0.2813, allocations: 58.72 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/0.2814, allocations: 40.75 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.2822, allocations: 364.2 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.2823, allocations: 20.75 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.2823, allocations: 40.36 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.2827, allocations: 232.8 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2827, allocations: 0 / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.2827, allocations: 20 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2827, allocations: 4 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.283, allocations: 143 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.2841, allocations: 0.7694 MB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.2843, allocations: 178.5 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2846, allocations: 220.2 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2846, allocations: 3.984 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.285, allocations: 248.8 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.285, allocations: 4 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0006406/0.2856, allocations: 419.2 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.2857, allocations: 106.8 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.286, allocations: 286.5 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.286, allocations: 45.69 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2862, allocations: 152.9 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.2862, allocations: 71.47 kB / 1.229 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.2864, allocations: 137.6 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2866, allocations: 346.8 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.2869, allocations: 196.7 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.2874, allocations: 320 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.288, allocations: 0.5232 MB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.288, allocations: 4 kB / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00106/0.2891, allocations: 0.7171 MB / 1.231 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/0.2892, allocations: 126.8 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2892, allocations: 4 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2892, allocations: 4 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.2893, allocations: 27.92 kB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2893, allocations: 12.28 kB / 1.231 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.2899, allocations: 127.6 kB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.29, allocations: 67.86 kB / 1.232 GB, free: 2.23 MB / 0.9825 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.0001941/0.2902, allocations: 202 kB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.2903, allocations: 31.8 kB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.2908, allocations: 360.6 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2908, allocations: 4 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2908, allocations: 0 / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2908, allocations: 0 / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.2916, allocations: 0.7095 MB / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2916, allocations: 0 / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.2917, allocations: 19.92 kB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2917, allocations: 0 / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2917, allocations: 15.94 kB / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2917, allocations: 0 / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2917, allocations: 4 kB / 1.233 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.2922, allocations: 424.8 kB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.2923, allocations: 104.9 kB / 1.233 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2923, allocations: 11.94 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2924, allocations: 11.98 kB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.2925, allocations: 23.97 kB / 1.233 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2925, allocations: 16 kB / 1.233 GB, free: 220 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000167/0.2927, allocations: 186 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2927, allocations: 0 / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003602/0.293, allocations: 87.98 kB / 1.234 GB, free: 15.94 MB / 0.9981 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.0007874/0.2938, allocations: 0.9759 MB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.2947, allocations: 0.654 MB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2947, allocations: 0 / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.2949, allocations: 148.3 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2953, allocations: 65.27 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.2996, allocations: 3.606 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.2999, allocations: 0.7648 MB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.3001, allocations: 66.91 kB / 1.24 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3002, allocations: 103.3 kB / 1.24 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3002, allocations: 0 / 1.24 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.848/2.148, allocations: 7.814 MB / 1.247 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/14.46, allocations: 8.047 kB / 1.248 GB, free: 1.633 MB / 0.9981 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