Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_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.001608/0.001608, allocations: 108 kB / 15.61 MB, free: 152 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.001953/0.001953, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.612/2.612, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.5799, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002209/0.5822, allocations: 0.7173 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.5837, allocations: 1.237 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.5838, allocations: 4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.5839, allocations: 7.875 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.584, allocations: 15.84 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.5848, allocations: 244.2 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.5851, allocations: 247.6 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.5853, allocations: 43.95 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.5855, allocations: 103.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.5858, allocations: 99.75 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.5858, allocations: 16 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.5859, allocations: 32 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.586, allocations: 35.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.5861, allocations: 83.62 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.5864, allocations: 209.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5864, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5864, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.5864, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 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.0005367/0.5869, allocations: 0.4983 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.587, allocations: 8.031 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.587, allocations: 42.75 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.5871, allocations: 20.75 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.5877, allocations: 269.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5877, allocations: 12.38 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.5877, allocations: 16.38 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.5879, allocations: 130.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.588, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.588, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.588, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.5881, allocations: 51.97 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.5887, allocations: 0.6648 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.5888, allocations: 53.08 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.5888, allocations: 13.84 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.5888, allocations: 3.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.5889, allocations: 89.09 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5889, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002293/0.5892, allocations: 105.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5892, allocations: 85.11 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5894, allocations: 173.1 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5894, allocations: 29.7 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.5895, allocations: 123.8 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.5895, allocations: 7.906 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5896, allocations: 73.52 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.5897, allocations: 322.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.5898, allocations: 51.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.59, allocations: 110.7 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.5902, allocations: 174.1 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5902, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000393/0.5906, allocations: 268.7 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.5906, allocations: 67.39 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5907, allocations: 3.938 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5907, allocations: 7.938 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-05/0.5907, allocations: 8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5907, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.591, allocations: 60.03 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.5911, allocations: 15.98 kB / 1.024 GB, free: 11.51 MB / 0.7794 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.0001101/0.5912, allocations: 137.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.5912, allocations: 11.84 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.5913, allocations: 12.25 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5913, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5913, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5913, allocations: 7.984 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.5914, allocations: 201.6 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5914, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.5915, allocations: 7.984 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5915, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.5915, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5915, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5915, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.5916, allocations: 117.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.5917, allocations: 85.11 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.5917, allocations: 7.938 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.5917, allocations: 4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.5918, allocations: 3.984 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5918, allocations: 4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.668e-05/0.5918, allocations: 122.8 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5918, allocations: 0 / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000249/0.5921, allocations: 35.84 kB / 1.025 GB, free: 10.66 MB / 0.7794 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.0004217/0.5925, allocations: 0.6639 MB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.5928, allocations: 231.2 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5929, allocations: 8.062 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.5929, allocations: 23.92 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.5931, allocations: 17.55 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5951, allocations: 1.908 MB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.5953, allocations: 0.7158 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.5954, allocations: 8.891 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.5954, allocations: 35.42 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5954, allocations: 3.938 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.6147, allocations: 3.405 MB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.657, allocations: 5.938 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches