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.009151/0.009151, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001645/0.001645, allocations: 189 kB / 16.67 MB, free: 5.938 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.559/2.559, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9788/0.98, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002224/0.9823, allocations: 0.8796 MB / 1.167 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.984, allocations: 1.288 MB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.9841, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.9843, allocations: 23.8 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.9843, allocations: 31.72 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.9851, allocations: 265.4 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.9854, allocations: 347.2 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.9856, allocations: 61.47 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.9858, allocations: 131.7 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.986, allocations: 111.6 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.986, allocations: 28 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.9862, allocations: 51.92 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.9863, allocations: 43.91 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.9864, allocations: 123.4 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.9869, allocations: 347.3 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9869, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9869, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.987, allocations: 4 kB / 1.17 GB, free: 100 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.0008057/0.9878, allocations: 0.5525 MB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9878, allocations: 8.922 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.9879, allocations: 28.8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.9885, allocations: 297.6 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.9885, allocations: 16.38 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.9886, allocations: 24.36 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.9888, allocations: 145.6 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9888, allocations: 7.875 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.9889, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9889, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.989, allocations: 67.89 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.9898, allocations: 0.747 MB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.9899, allocations: 61.14 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.9899, allocations: 29.78 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.9899, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.9902, allocations: 108.9 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.9902, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000308/0.9905, allocations: 125.5 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.9906, allocations: 93.09 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.9908, allocations: 211.7 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.9909, allocations: 29.7 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.991, allocations: 144.2 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.9911, allocations: 15.84 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.9912, allocations: 69.67 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9914, allocations: 330.8 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.9915, allocations: 67.97 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.9917, allocations: 128.5 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.992, allocations: 198.2 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.992, allocations: 4 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004763/0.9925, allocations: 296.7 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.9925, allocations: 71.58 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.9925, allocations: 0 / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.9926, allocations: 4 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.9926, allocations: 11.94 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9927, allocations: 4 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.9931, allocations: 68.88 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.9931, allocations: 15.98 kB / 1.174 GB, free: 11.78 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.0001473/0.9933, allocations: 154.8 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.9933, allocations: 15.91 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.9933, allocations: 20.86 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.9934, allocations: 7.984 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9934, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9934, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.9936, allocations: 233.5 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9936, allocations: 0 / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.9936, allocations: 12 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9936, allocations: 0 / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.9937, allocations: 4 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9937, allocations: 0 / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9937, allocations: 4 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.9939, allocations: 137.7 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.9939, allocations: 93.02 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.994, allocations: 4 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.994, allocations: 4 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.994, allocations: 7.984 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.994, allocations: 4 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001187/0.9942, allocations: 144.2 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9942, allocations: 3.938 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002735/0.9945, allocations: 47.89 kB / 1.175 GB, free: 10.8 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.0001487/0.9946, allocations: 113.5 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.995, allocations: 262.6 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.995, allocations: 0 / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.9951, allocations: 35.97 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.9954, allocations: 38.62 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.9958, allocations: 318.7 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.9961, allocations: 0.7202 MB / 1.176 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.9962, allocations: 25.55 kB / 1.176 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.9962, allocations: 19.42 kB / 1.176 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9962, allocations: 0 / 1.176 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of Templates: time 0.005718/1.002, allocations: 2.547 MB / 1.179 GB, free: 6.699 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