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.009012/0.009012, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.001849/0.001849, allocations: 190 kB / 16.67 MB, free: 5.48 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.504/2.504, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002254/1.014, allocations: 0.8783 MB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001935/1.016, allocations: 1.296 MB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/1.016, allocations: 4 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/1.017, allocations: 19.8 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/1.017, allocations: 31.72 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/1.017, allocations: 264.9 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/1.018, allocations: 351.2 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/1.018, allocations: 57.45 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/1.018, allocations: 135.7 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/1.018, allocations: 99.7 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/1.019, allocations: 28 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/1.019, allocations: 59.91 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/1.019, allocations: 43.91 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/1.019, allocations: 119.4 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/1.019, allocations: 347.3 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.019, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/1.019, allocations: 3.938 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.019, allocations: 3.938 kB / 1.17 GB, free: 160 kB / 0.8887 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.0008814/1.02, allocations: 0.5603 MB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.02, allocations: 8.922 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/1.02, allocations: 28.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/1.021, allocations: 297.7 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/1.021, allocations: 12.38 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/1.021, allocations: 20.38 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/1.022, allocations: 151.8 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.022, allocations: 3.938 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/1.022, allocations: 7.984 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.022, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/1.022, allocations: 63.91 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008464/1.023, allocations: 0.7508 MB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/1.023, allocations: 65.17 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/1.023, allocations: 25.77 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/1.023, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/1.023, allocations: 109 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/1.023, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003212/1.023, allocations: 121.8 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/1.023, allocations: 85.09 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/1.024, allocations: 211.8 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/1.024, allocations: 33.7 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.024, allocations: 144.2 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/1.024, allocations: 23.83 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/1.024, allocations: 65.67 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.024, allocations: 326.8 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.024, allocations: 67.89 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/1.024, allocations: 132.5 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/1.025, allocations: 198.1 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.025, allocations: 0 / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005119/1.025, allocations: 296.7 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.025, allocations: 71.39 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.025, allocations: 144 / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.025, allocations: 8.188 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/1.026, allocations: 15.97 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.026, allocations: 3.938 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/1.026, allocations: 67.88 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.026, allocations: 12 kB / 1.174 GB, free: 11.84 MB / 0.9044 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.0002131/1.026, allocations: 157.7 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/1.026, allocations: 19.84 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/1.026, allocations: 12.94 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.026, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.026, allocations: 4 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.026, allocations: 3.984 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/1.027, allocations: 229.5 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.027, allocations: 0 / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/1.027, allocations: 11.92 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.027, allocations: 0 / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.027, allocations: 8 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.027, allocations: 0 / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.027, allocations: 0 / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/1.027, allocations: 137.8 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/1.027, allocations: 89.02 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.027, allocations: 3.984 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/1.027, allocations: 4 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/1.027, allocations: 8 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/1.027, allocations: 7.984 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001436/1.027, allocations: 144.2 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.027, allocations: 0 / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003011/1.028, allocations: 47.89 kB / 1.175 GB, free: 10.86 MB / 0.9044 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.0002483/1.028, allocations: 117.4 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004429/1.028, allocations: 258.9 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.028, allocations: 0 / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/1.028, allocations: 31.92 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/1.029, allocations: 47.84 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/1.029, allocations: 304.5 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/1.03, allocations: 0.728 MB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.592e-05/1.03, allocations: 21.53 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/1.03, allocations: 19.44 kB / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.03, allocations: 0 / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.006178/1.036, allocations: 2.547 MB / 1.179 GB, free: 6.77 MB / 0.9044 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