Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.00939/0.00939, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002043/0.002043, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.309/2.309, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9636, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00187/0.9655, allocations: 0.7164 MB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.967, allocations: 1.239 MB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.9671, allocations: 2.562 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.9672, allocations: 9.75 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.9672, allocations: 11.84 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.968, allocations: 254.7 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.9683, allocations: 251.2 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.9685, allocations: 38.22 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.9686, allocations: 106.2 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.9688, allocations: 79.52 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.9689, allocations: 19.97 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.969, allocations: 50.16 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.9691, allocations: 35.08 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.9692, allocations: 90.23 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.9695, allocations: 227.8 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9696, allocations: 1.828 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9696, allocations: 0 / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.9696, allocations: 4 kB / 1.091 GB, free: 3.422 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005104/0.9701, allocations: 0.5025 MB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.9701, allocations: 9.812 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.9702, allocations: 40.61 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.9703, allocations: 20.69 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.9708, allocations: 252.9 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.9709, allocations: 17.05 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.9709, allocations: 17.81 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.9712, allocations: 132.7 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.9712, allocations: 0.6562 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.9712, allocations: 2.391 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.9712, allocations: 2.219 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.9713, allocations: 50.09 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.9719, allocations: 0.6648 MB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.972, allocations: 44.8 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.972, allocations: 18.83 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.972, allocations: 4.688 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.9722, allocations: 101.9 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.9722, allocations: 0 / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002668/0.9725, allocations: 106.7 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.9725, allocations: 84 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.9727, allocations: 171.1 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.9727, allocations: 34.94 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.9728, allocations: 118.7 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.9728, allocations: 19.45 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.973, allocations: 61.3 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.973, allocations: 325.6 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.9731, allocations: 57.69 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.9733, allocations: 115 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.9735, allocations: 173 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9735, allocations: 0.7188 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004335/0.974, allocations: 269.6 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.974, allocations: 72.22 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.974, allocations: 6.625 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9741, allocations: 1.906 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.263e-05/0.9741, allocations: 7.984 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.9741, allocations: 3.016 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.9745, allocations: 68.31 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.9746, allocations: 21.19 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001093/0.9747, allocations: 139.3 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.9747, allocations: 12.81 kB / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.9748, allocations: 13.34 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.9748, allocations: 2.094 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9748, allocations: 0.7812 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9748, allocations: 1.547 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.975, allocations: 206.1 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.975, allocations: 0.7188 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.975, allocations: 6.094 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.975, allocations: 1.781 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.975, allocations: 2.031 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.975, allocations: 1 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.975, allocations: 0.5625 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.9752, allocations: 120.1 kB / 1.094 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.9752, allocations: 88.31 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.9753, allocations: 10.69 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.9753, allocations: 0.6875 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.9753, allocations: 12.98 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.9754, allocations: 7.688 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001047/0.9755, allocations: 116.3 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9755, allocations: 0 / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003113/0.9758, allocations: 37.52 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004918/0.9763, allocations: 0.6673 MB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.9767, allocations: 235.8 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9767, allocations: 0.6562 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.9768, allocations: 20.58 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.977, allocations: 26.58 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.9795, allocations: 1.911 MB / 1.098 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.9798, allocations: 0.7157 MB / 1.098 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.9798, allocations: 11.2 kB / 1.098 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.9799, allocations: 42.03 kB / 1.098 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.9799, allocations: 0 / 1.098 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/1.004, allocations: 3.614 MB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.704, allocations: 8.75 kB / 1.102 GB, free: 12.17 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_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_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches