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.001327/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001676/0.001676, allocations: 191.4 kB / 16.14 MB, free: 6.734 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.645/2.645, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 71.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7236, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002323/0.726, allocations: 0.9319 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.7279, allocations: 1.323 MB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.728, allocations: 0 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.7281, allocations: 11.86 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.7282, allocations: 31.78 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.7288, allocations: 250.8 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.7291, allocations: 279.4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7292, allocations: 65.44 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.7294, allocations: 111.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.7296, allocations: 111.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.7296, allocations: 12 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.7297, allocations: 27.98 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.7298, allocations: 43.78 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.7299, allocations: 103.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.7302, allocations: 313 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7302, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7302, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7302, allocations: 4 kB / 1.02 GB, free: 15.17 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.0006503/0.7309, allocations: 0.541 MB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.7309, allocations: 12.03 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.731, allocations: 24.66 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.7316, allocations: 299.9 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.7317, allocations: 12.38 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.7317, allocations: 24.36 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.732, allocations: 147.1 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.732, allocations: 11.88 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.732, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.732, allocations: 8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.7321, allocations: 71.88 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.7328, allocations: 0.7469 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.7329, allocations: 57.14 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.733, allocations: 29.7 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.733, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.7331, allocations: 105.1 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.7331, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002618/0.7334, allocations: 125.4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.7335, allocations: 77.11 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.7337, allocations: 212.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.7337, allocations: 33.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7338, allocations: 147.8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.7338, allocations: 19.75 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.7339, allocations: 61.67 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7341, allocations: 326.8 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.7342, allocations: 59.97 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.7344, allocations: 120.9 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.7346, allocations: 206 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7346, allocations: 4 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004641/0.7351, allocations: 288.7 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.7351, allocations: 67.39 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7352, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7352, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.7352, allocations: 12.12 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7352, allocations: 7.984 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.7356, allocations: 55.94 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.7356, allocations: 15.98 kB / 1.024 GB, free: 10.91 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.0001315/0.7357, allocations: 154.2 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.7358, allocations: 19.81 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.7358, allocations: 20.86 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7358, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.7358, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7358, allocations: 4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.7361, allocations: 241.4 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7361, allocations: 0 / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.7361, allocations: 4 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7361, allocations: 0 / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7362, allocations: 0 / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7362, allocations: 4 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7362, allocations: 7.984 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.7363, allocations: 134.2 kB / 1.024 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.7364, allocations: 88.92 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.7364, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.7364, allocations: 4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.7365, allocations: 7.984 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.7365, allocations: 8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001111/0.7366, allocations: 148.5 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7366, allocations: 0 / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002506/0.7369, allocations: 43.83 kB / 1.025 GB, free: 9.949 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.0001473/0.737, allocations: 113.6 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.7374, allocations: 254.6 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7374, allocations: 384 / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/0.7375, allocations: 35.98 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7378, allocations: 35.91 kB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.7383, allocations: 358.4 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.7386, allocations: 0.7283 MB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.7386, allocations: 17.55 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.7387, allocations: 23.42 kB / 1.026 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7387, allocations: 4 kB / 1.026 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.005299/0.744, allocations: 2.267 MB / 1.028 GB, free: 6.066 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=480 -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