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.002019/0.002019, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.548/1.548, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 3.011/3.011, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 63.89 kB / 0.8692 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7169, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002362/0.7193, allocations: 0.871 MB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.7212, allocations: 1.288 MB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.7213, allocations: 7.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.7215, allocations: 19.8 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.7216, allocations: 27.78 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.7224, allocations: 263.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.7228, allocations: 347.3 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.723, allocations: 61.39 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.7231, allocations: 127.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.7234, allocations: 119.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.7235, allocations: 28 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.7236, allocations: 43.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.7237, allocations: 39.91 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.7238, allocations: 119.4 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.7242, allocations: 333 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7242, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7242, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7242, allocations: 0 / 1.021 GB, free: 14.75 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.0007435/0.725, allocations: 0.5409 MB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.725, allocations: 8.031 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.7251, allocations: 28.66 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.7258, allocations: 303.9 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.7259, allocations: 12.38 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.7259, allocations: 16.38 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.7262, allocations: 156.2 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.7262, allocations: 3.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.7262, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7262, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.7264, allocations: 67.91 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.7272, allocations: 0.7546 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.7274, allocations: 65.17 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.7274, allocations: 21.78 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.7274, allocations: 3.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.7277, allocations: 101 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7277, allocations: 3.938 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003105/0.728, allocations: 125.4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.7281, allocations: 85.09 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.7283, allocations: 212.7 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.7283, allocations: 29.7 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7285, allocations: 143.8 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.7285, allocations: 23.73 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.7286, allocations: 57.69 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7288, allocations: 330.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.7289, allocations: 63.97 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.7291, allocations: 116.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.7294, allocations: 202.1 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7294, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000511/0.7299, allocations: 304.6 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.73, allocations: 59.41 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.73, allocations: 4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.73, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.7301, allocations: 11.98 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.7301, allocations: 4 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.7305, allocations: 56.12 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.7305, allocations: 15.98 kB / 1.025 GB, free: 10.5 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.0001707/0.7307, allocations: 149.6 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.7307, allocations: 15.81 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.7308, allocations: 20.92 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7308, allocations: 4 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7308, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7308, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.731, allocations: 233.5 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.731, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.731, allocations: 4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.731, allocations: 4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7311, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7311, allocations: 3.938 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.7311, allocations: 3.938 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.7313, allocations: 145.7 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.7313, allocations: 92.91 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.7314, allocations: 4 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.7314, allocations: 4 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.7314, allocations: 7.984 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.7315, allocations: 4 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001237/0.7316, allocations: 148.5 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7316, allocations: 0 / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000268/0.7319, allocations: 43.84 kB / 1.026 GB, free: 9.539 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.0001697/0.732, allocations: 115.6 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.7325, allocations: 254.8 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7325, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.631e-05/0.7326, allocations: 40.47 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.7329, allocations: 49.45 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.7334, allocations: 289 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.7338, allocations: 0.7358 MB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.7339, allocations: 17.55 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.7339, allocations: 15.44 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7339, allocations: 0 / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.006459/0.7404, allocations: 2.377 MB / 1.029 GB, free: 5.605 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