Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001303, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 75.88 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5567, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002123/0.5589, allocations: 0.9359 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.5605, allocations: 1.323 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.5607, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.5608, allocations: 15.86 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.85e-05/0.5609, allocations: 19.84 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.5616, allocations: 243.7 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.5619, allocations: 287.5 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.562, allocations: 69.34 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.5622, allocations: 111.6 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.5625, allocations: 115.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.5625, allocations: 16 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.5626, allocations: 23.98 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.5627, allocations: 35.91 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.5628, allocations: 107.4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.5632, allocations: 313.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5632, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5632, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.5632, allocations: 4 kB / 1.02 GB, free: 15.21 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009901/0.5642, allocations: 0.5425 MB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5643, allocations: 11.97 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.5644, allocations: 50.67 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.5645, allocations: 24.66 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.5652, allocations: 303.9 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5652, allocations: 20.38 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.5653, allocations: 16.38 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.5655, allocations: 150.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5655, allocations: 3.984 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5655, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5655, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.5657, allocations: 63.91 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.5664, allocations: 0.7507 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.5665, allocations: 61.2 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.5666, allocations: 29.72 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.5666, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.5668, allocations: 104.9 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.5668, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002744/0.567, allocations: 125.8 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.5671, allocations: 81.11 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5673, allocations: 215.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.5673, allocations: 29.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.5674, allocations: 139.8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.5675, allocations: 27.73 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.5676, allocations: 57.69 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5677, allocations: 334.8 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5678, allocations: 63.97 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.568, allocations: 120.3 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.5682, allocations: 190.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5682, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000453/0.5687, allocations: 296.6 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.5687, allocations: 67.39 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5687, allocations: 4.141 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.5688, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.5688, allocations: 23.91 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5688, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.5692, allocations: 52.12 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.5692, allocations: 12 kB / 1.024 GB, free: 10.9 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: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001291/0.5693, allocations: 150.2 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.5694, allocations: 19.81 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.5694, allocations: 12.94 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5694, allocations: 4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5694, allocations: 7.938 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5694, allocations: 7.922 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.5696, allocations: 233.4 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5696, allocations: 0 / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.5696, allocations: 11.92 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5696, allocations: 0 / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5697, allocations: 8 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5697, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5697, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.5698, allocations: 129.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.5699, allocations: 96.91 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.5699, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.57, allocations: 7.938 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.57, allocations: 7.984 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.57, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001205/0.5701, allocations: 144.2 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5701, allocations: 0 / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002579/0.5704, allocations: 51.84 kB / 1.025 GB, free: 9.93 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0004359/0.5708, allocations: 0.6739 MB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.5712, allocations: 262.8 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5712, allocations: 0 / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.5713, allocations: 35.92 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.5715, allocations: 31.97 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.5739, allocations: 2.185 MB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.5742, allocations: 0.7319 MB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.269e-05/0.5743, allocations: 25.91 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.5743, allocations: 51.42 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5743, allocations: 0 / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.588, allocations: 3.969 MB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.5882, allocations: 229.5 kB / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.328, allocations: 3.25 kB / 1.033 GB, free: 1.66 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches