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.009585/0.009585, allocations: 99.7 kB / 15.73 MB, free: 6.039 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.002338/0.002338, allocations: 192.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.409/2.409, 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 10.1.1-maint.10.0.x/package.mo): time 3.895/3.895, allocations: 437.1 MB / 0.7105 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003309/0.003309, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444/1.447, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.003821/1.451, allocations: 0.7114 MB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003461/1.454, allocations: 1.255 MB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/1.455, allocations: 0 / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/1.455, allocations: 11.86 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/1.455, allocations: 11.88 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/1.456, allocations: 237 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006318/1.457, allocations: 259.6 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/1.457, allocations: 35.98 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/1.458, allocations: 99.86 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/1.458, allocations: 91.69 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/1.458, allocations: 16 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/1.458, allocations: 47.92 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/1.458, allocations: 31.91 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/1.459, allocations: 91.62 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/1.459, allocations: 230.9 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.459, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.284e-06/1.459, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.261e-05/1.459, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 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.001213/1.46, allocations: 0.506 MB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/1.461, allocations: 12.62 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/1.461, allocations: 42.73 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/1.461, allocations: 24.78 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/1.462, allocations: 266.2 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/1.462, allocations: 8.375 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/1.462, allocations: 24.36 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/1.462, allocations: 131.5 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.462, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/1.462, allocations: 8 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/1.462, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/1.463, allocations: 51.91 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/1.464, allocations: 0.6651 MB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/1.464, allocations: 41.09 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/1.464, allocations: 17.83 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/1.464, allocations: 7.938 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/1.464, allocations: 96.98 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 6.803e-06/1.464, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004071/1.465, allocations: 109.6 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/1.465, allocations: 85.08 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/1.465, allocations: 166.8 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/1.465, allocations: 37.69 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/1.465, allocations: 124 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/1.466, allocations: 11.94 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/1.466, allocations: 65.62 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002223/1.466, allocations: 322.8 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/1.466, allocations: 51.97 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/1.467, allocations: 116.5 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/1.467, allocations: 174.2 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.467, allocations: 4 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008423/1.468, allocations: 268.7 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.468, allocations: 69.89 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.468, allocations: 0 / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.468, allocations: 4.25 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/1.468, allocations: 8 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.468, allocations: 3.938 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/1.469, allocations: 71.81 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/1.469, allocations: 19.98 kB / 1.173 GB, free: 12.71 MB / 0.9044 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.000256/1.469, allocations: 133.8 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/1.469, allocations: 15.89 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/1.469, allocations: 12.23 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.469, allocations: 0 / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.469, allocations: 4.094 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.469, allocations: 3.938 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/1.47, allocations: 205.6 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.47, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/1.47, allocations: 4 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.47, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.47, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.47, allocations: 11.94 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.47, allocations: 0 / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/1.47, allocations: 121.8 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/1.47, allocations: 85.06 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/1.47, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/1.47, allocations: 11.92 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/1.47, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.47, allocations: 8.234 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001542/1.471, allocations: 122.1 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.471, allocations: 0 / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004615/1.471, allocations: 47.88 kB / 1.173 GB, free: 11.83 MB / 0.9044 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.0008261/1.472, allocations: 0.6639 MB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000587/1.472, allocations: 238.6 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.473, allocations: 0 / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/1.473, allocations: 19.98 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/1.473, allocations: 19.98 kB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/1.477, allocations: 1.934 MB / 1.176 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/1.478, allocations: 0.708 MB / 1.177 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001018/1.478, allocations: 12.89 kB / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.478, allocations: 39.42 kB / 1.177 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of SimCode: time 1.573e-06/1.478, allocations: 0 / 1.177 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0438/1.522, allocations: 3.621 MB / 1.181 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.03, allocations: 8.531 kB / 1.181 GB, free: 4.508 MB / 0.9044 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