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.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001457/0.001457, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.863/2.863, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/0.7259, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002679/0.7287, allocations: 0.9318 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.7312, allocations: 1.335 MB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.7313, allocations: 3.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.7315, allocations: 7.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.7317, allocations: 19.8 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.7326, allocations: 242.8 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.7331, allocations: 291.4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.7334, allocations: 57.45 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.7336, allocations: 119.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.734, allocations: 107.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.734, allocations: 16 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.7341, allocations: 27.92 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.7342, allocations: 39.84 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.7344, allocations: 99.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.7349, allocations: 317 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7349, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7349, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7349, allocations: 0 / 1.02 GB, free: 15.19 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.001055/0.736, allocations: 0.541 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.739e-05/0.7361, allocations: 8.031 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.7362, allocations: 24.66 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.7371, allocations: 307.9 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.7371, allocations: 20.38 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.7372, allocations: 20.31 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.7376, allocations: 151.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.7376, allocations: 7.875 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.7377, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.7377, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.7379, allocations: 71.89 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.739, allocations: 0.7469 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.7392, allocations: 61.09 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.7392, allocations: 25.77 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7392, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.7397, allocations: 105.1 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.7397, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000394/0.7401, allocations: 125.4 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.7402, allocations: 81.11 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.7405, allocations: 212.6 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.7405, allocations: 37.69 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.7407, allocations: 135.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.7407, allocations: 23.75 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.7409, allocations: 61.67 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.7411, allocations: 326.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.7413, allocations: 63.95 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.7415, allocations: 114.8 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.7418, allocations: 198.1 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7418, allocations: 4 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005862/0.7424, allocations: 296.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.7425, allocations: 65.42 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7425, allocations: 3.938 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.7426, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.7427, allocations: 12 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.7427, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.7431, allocations: 56.12 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.7431, allocations: 11.98 kB / 1.024 GB, free: 10.94 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.0001987/0.7433, allocations: 154.1 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.7434, allocations: 15.81 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.7434, allocations: 20.86 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7434, allocations: 11.98 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7434, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7435, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.7438, allocations: 237.4 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7438, allocations: 0 / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.7438, allocations: 7.938 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7438, allocations: 0 / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.7438, allocations: 7.984 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7438, allocations: 0 / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7438, allocations: 0 / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.744, allocations: 141.7 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.7441, allocations: 88.92 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.7442, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.7442, allocations: 11.98 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.7442, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7443, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001523/0.7444, allocations: 152.5 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7444, allocations: 4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002769/0.7447, allocations: 43.84 kB / 1.025 GB, free: 9.965 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.0002307/0.7449, allocations: 107.8 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.7454, allocations: 262.6 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7454, allocations: 0 / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.7455, allocations: 24 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.7458, allocations: 42.52 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.7465, allocations: 352.9 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.7469, allocations: 0.7283 MB / 1.026 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.684e-05/0.7469, allocations: 21.53 kB / 1.026 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.747, allocations: 15.44 kB / 1.026 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.747, allocations: 0 / 1.026 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of Templates: time 0.007235/0.7542, allocations: 2.279 MB / 1.029 GB, free: 6.09 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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