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.008346/0.008346, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001943/0.001944, allocations: 187.9 kB / 16.67 MB, free: 5.918 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 71.88 kB / 1.018 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 151.6 MB / 1.166 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002101/0.3415, allocations: 0.7045 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3434, allocations: 1.249 MB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.3435, allocations: 4 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3437, allocations: 11.86 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.3437, allocations: 15.86 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.3447, allocations: 246.8 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.3451, allocations: 259.6 kB / 1.169 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3452, allocations: 32.27 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.3454, allocations: 107.9 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3456, allocations: 75.77 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.3457, allocations: 20 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3458, allocations: 43.92 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.3459, allocations: 43.83 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.346, allocations: 83.64 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.3464, allocations: 235.2 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3464, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3464, allocations: 3.938 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.3464, allocations: 0 / 1.169 GB, free: 4.344 MB / 0.92 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.0006932/0.3471, allocations: 0.506 MB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3472, allocations: 8.031 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.3472, allocations: 42.73 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.3473, allocations: 28.72 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.3479, allocations: 254.2 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3479, allocations: 16.36 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.348, allocations: 16.38 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3482, allocations: 139.9 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3482, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3482, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3482, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.3483, allocations: 51.91 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.3491, allocations: 0.669 MB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.3491, allocations: 45.14 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3492, allocations: 17.78 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3492, allocations: 7.938 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3494, allocations: 88.98 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3494, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002732/0.3497, allocations: 105.5 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.3498, allocations: 81.11 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3499, allocations: 172.8 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.35, allocations: 33.7 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3501, allocations: 124 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.3501, allocations: 3.953 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3502, allocations: 69.62 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3504, allocations: 322.8 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3505, allocations: 51.97 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3507, allocations: 124.5 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.3509, allocations: 174.5 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3509, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004165/0.3513, allocations: 276.7 kB / 1.173 GB, free: 0.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.3514, allocations: 63.39 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3514, allocations: 4 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3514, allocations: 4.25 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.3514, allocations: 4 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3514, allocations: 7.938 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.3518, allocations: 71.81 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.3519, allocations: 16.08 kB / 1.173 GB, free: 412 kB / 0.92 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.0001413/0.352, allocations: 147.7 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.3521, allocations: 11.89 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3521, allocations: 16.23 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3521, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3521, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3521, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3523, allocations: 209.5 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3523, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.3524, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3524, allocations: 4 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3524, allocations: 4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3524, allocations: 3.938 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3524, allocations: 4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.3525, allocations: 117.8 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3526, allocations: 85.06 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3526, allocations: 3.984 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.3527, allocations: 0 / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3527, allocations: 12 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3527, allocations: 4 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.29e-05/0.3528, allocations: 116.5 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3528, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002716/0.3531, allocations: 43.89 kB / 1.173 GB, free: 15.53 MB / 0.9356 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.0004645/0.3536, allocations: 0.6601 MB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.3539, allocations: 246.6 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3539, allocations: 0 / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.354, allocations: 23.98 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3542, allocations: 16.48 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.3565, allocations: 1.924 MB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3569, allocations: 0.7121 MB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.357, allocations: 17.05 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.357, allocations: 43.42 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.357, allocations: 3.938 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3801, allocations: 3.62 MB / 1.181 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.291, allocations: 0 / 1.181 GB, free: 8.215 MB / 0.9356 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