Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_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.005402/0.005402, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001416/0.001416, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.327/1.327, 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 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 64.12 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6632, allocations: 159.1 MB / 1.22 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001702/0.665, allocations: 0.7014 MB / 1.221 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.6665, allocations: 1.244 MB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.6665, allocations: 0 / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.16e-05/0.6666, allocations: 15.88 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.6667, allocations: 15.84 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.6673, allocations: 237 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.6676, allocations: 255.6 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.6677, allocations: 39.92 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.6678, allocations: 103.8 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.668, allocations: 91.75 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.6681, allocations: 20 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.6682, allocations: 35.98 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.6682, allocations: 31.92 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.6683, allocations: 95.61 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.6686, allocations: 239.2 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.6686, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6686, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6686, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 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.0005678/0.6692, allocations: 0.4983 MB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.6693, allocations: 16.03 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.6693, allocations: 34.75 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.6694, allocations: 28.83 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.6699, allocations: 262.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6699, allocations: 12.38 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.67, allocations: 16.31 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.6702, allocations: 135.6 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6702, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.6702, allocations: 8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6702, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.6703, allocations: 51.91 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.6709, allocations: 0.6728 MB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.671, allocations: 41.22 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.671, allocations: 13.78 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.671, allocations: 3.938 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.6712, allocations: 105 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6712, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002283/0.6714, allocations: 97.56 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.6715, allocations: 77.11 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.6717, allocations: 180.7 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.6717, allocations: 33.7 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.6718, allocations: 124 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.6718, allocations: 19.89 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.6719, allocations: 57.69 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6721, allocations: 322.8 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.6722, allocations: 55.95 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.6723, allocations: 117.6 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.6726, allocations: 186.5 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6726, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004087/0.673, allocations: 264.8 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.673, allocations: 63.41 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6731, allocations: 0 / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6731, allocations: 8.234 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.997e-05/0.6731, allocations: 11.94 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6731, allocations: 0 / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.6735, allocations: 67.88 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.6735, allocations: 19.97 kB / 1.227 GB, free: 11.18 MB / 0.9512 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.0001205/0.6737, allocations: 141.7 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.6737, allocations: 15.89 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.6737, allocations: 12.25 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6737, allocations: 4 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.6737, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6737, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.6739, allocations: 209.5 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6739, allocations: 4.094 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.6739, allocations: 7.922 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6739, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.674, allocations: 7.938 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.674, allocations: 4 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.674, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.6741, allocations: 118.7 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.6742, allocations: 85.06 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.6742, allocations: 12.06 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.6742, allocations: 0 / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.6743, allocations: 7.984 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.6743, allocations: 4 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.844e-05/0.6744, allocations: 121.2 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6744, allocations: 0 / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002453/0.6746, allocations: 39.89 kB / 1.227 GB, free: 10.3 MB / 0.9512 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.0004524/0.6751, allocations: 0.6683 MB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.6754, allocations: 230.7 kB / 1.228 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6754, allocations: 0 / 1.228 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.6755, allocations: 23.94 kB / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.6757, allocations: 19.98 kB / 1.228 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.6777, allocations: 1.933 MB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.678, allocations: 0.708 MB / 1.231 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.6781, allocations: 16.88 kB / 1.231 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.6781, allocations: 35.42 kB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.6781, allocations: 0 / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.741/2.419, allocations: 3.619 MB / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/14.55, allocations: 17.88 kB / 1.235 GB, free: 2.98 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches