Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_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.008915/0.008915, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001603/0.001603, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.45/1.45, 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 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8934, allocations: 140.4 MB / 1.087 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002189/0.8956, allocations: 1.045 MB / 1.088 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.8975, allocations: 1.45 MB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.8976, allocations: 3.094 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.8978, allocations: 24.83 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.8979, allocations: 50.95 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.8991, allocations: 471.1 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007834/0.8999, allocations: 0.5333 MB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.9003, allocations: 139.1 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.9006, allocations: 205.4 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.901, allocations: 194.4 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.9011, allocations: 49.22 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.9013, allocations: 62.77 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.9014, allocations: 68.97 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.9017, allocations: 191.4 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.9025, allocations: 0.521 MB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.9026, allocations: 0 / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9026, allocations: 0.75 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.9026, allocations: 0 / 1.092 GB, free: 2.27 MB / 0.8575 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.0009721/0.9036, allocations: 0.6913 MB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.9036, allocations: 10.02 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.9037, allocations: 54.94 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.9038, allocations: 48.56 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.9048, allocations: 366.2 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.9048, allocations: 20 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.9049, allocations: 39.25 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.9053, allocations: 231 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.9054, allocations: 4 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.9054, allocations: 7.391 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.9054, allocations: 4.188 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.9057, allocations: 141.8 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.9072, allocations: 0.7638 MB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.9077, allocations: 188.3 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.9081, allocations: 213.3 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.9081, allocations: 1.875 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.9085, allocations: 236.2 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.9085, allocations: 4.969 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0008183/0.9093, allocations: 422.9 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.9094, allocations: 115.6 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.9097, allocations: 288.7 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.9098, allocations: 42.34 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.91, allocations: 163.1 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.91, allocations: 62.14 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.9103, allocations: 142.9 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9105, allocations: 342.9 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.9109, allocations: 198.2 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.9115, allocations: 331.8 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.9122, allocations: 0.5202 MB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9122, allocations: 1.094 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001426/0.9137, allocations: 0.7143 MB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.9138, allocations: 129 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.9138, allocations: 3.812 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.9138, allocations: 5.359 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.914, allocations: 29.08 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.914, allocations: 9.75 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.9147, allocations: 132.8 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.9149, allocations: 64.05 kB / 1.099 GB, free: 14.25 MB / 0.8731 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.0002474/0.9151, allocations: 188.9 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.9152, allocations: 30.08 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.9158, allocations: 358.1 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.9159, allocations: 2.344 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.9159, allocations: 8.672 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.9159, allocations: 2.016 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.9169, allocations: 0.7126 MB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.917, allocations: 0.875 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.917, allocations: 18.91 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.9171, allocations: 9.469 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.9171, allocations: 12.31 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.9171, allocations: 6.094 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9171, allocations: 0.6094 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.9177, allocations: 414 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.9177, allocations: 109.2 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.9178, allocations: 8.344 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.9179, allocations: 13.69 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.918, allocations: 25.27 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.918, allocations: 14.27 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002312/0.9183, allocations: 187.5 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9183, allocations: 0 / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004802/0.9188, allocations: 95.12 kB / 1.101 GB, free: 12.98 MB / 0.8731 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.00101/0.9198, allocations: 0.9839 MB / 1.102 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.9208, allocations: 0.653 MB / 1.103 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9208, allocations: 0 / 1.103 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.921, allocations: 142.6 kB / 1.103 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.9215, allocations: 65.91 kB / 1.103 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.9267, allocations: 3.601 MB / 1.106 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.9271, allocations: 0.7634 MB / 1.107 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.9273, allocations: 66.94 kB / 1.107 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.9274, allocations: 99.31 kB / 1.107 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/0.9274, allocations: 5.25 kB / 1.107 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.9593, allocations: 7.8 MB / 1.115 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/9.011, allocations: 14.81 kB / 1.115 GB, free: 7.879 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches