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.001507/0.001507, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001578/0.001579, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.846/2.846, allocations: 437.1 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 77.25 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3138, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002252/0.316, allocations: 0.8794 MB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3179, allocations: 1.282 MB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.3181, allocations: 11.88 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.3182, allocations: 19.8 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.3183, allocations: 27.78 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008011/0.3191, allocations: 264.2 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.3195, allocations: 335.4 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.3197, allocations: 65.44 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3199, allocations: 127.7 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.3202, allocations: 119.6 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.3203, allocations: 28 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3204, allocations: 43.98 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.3205, allocations: 43.84 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.3207, allocations: 119.5 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3211, allocations: 331.3 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3211, allocations: 0 / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3211, allocations: 0 / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3211, allocations: 0 / 1.022 GB, free: 6.949 MB / 0.795 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.0007959/0.3219, allocations: 0.5486 MB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3219, allocations: 8.625 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.039e-05/0.322, allocations: 24.66 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.3228, allocations: 304 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3228, allocations: 12.38 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.3229, allocations: 16.38 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.3231, allocations: 151.7 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3231, allocations: 3.938 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3232, allocations: 4 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3232, allocations: 8 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3233, allocations: 67.84 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.3242, allocations: 0.7507 MB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3243, allocations: 65.17 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.3244, allocations: 21.78 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3244, allocations: 3.984 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.3246, allocations: 104.9 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.3246, allocations: 0 / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000311/0.3249, allocations: 121.8 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.325, allocations: 81.09 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3252, allocations: 216.6 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.3253, allocations: 37.7 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3254, allocations: 143.8 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3254, allocations: 11.81 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.3256, allocations: 61.69 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3257, allocations: 326.8 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3259, allocations: 63.97 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3261, allocations: 122.8 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3263, allocations: 198.1 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3264, allocations: 0 / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005394/0.3269, allocations: 300.8 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.327, allocations: 63.41 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.327, allocations: 0 / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.327, allocations: 7.984 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.3271, allocations: 11.98 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3271, allocations: 8.188 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.3275, allocations: 55.88 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.3275, allocations: 11.98 kB / 1.025 GB, free: 2.695 MB / 0.795 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.0001651/0.3277, allocations: 149.7 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3277, allocations: 15.81 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.3277, allocations: 20.92 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3278, allocations: 7.938 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3278, allocations: 0 / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3278, allocations: 3.938 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.328, allocations: 241.4 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.328, allocations: 0 / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.3281, allocations: 4 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3281, allocations: 0 / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3281, allocations: 4 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3281, allocations: 0 / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3281, allocations: 7.938 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3283, allocations: 129.8 kB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.3284, allocations: 92.91 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3284, allocations: 0 / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.3284, allocations: 4 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3285, allocations: 7.984 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3285, allocations: 8 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000133/0.3286, allocations: 144.5 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3286, allocations: 0 / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000283/0.3289, allocations: 47.84 kB / 1.026 GB, free: 1.73 MB / 0.795 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.0001563/0.3291, allocations: 111.2 kB / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.3295, allocations: 258.7 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3295, allocations: 384 / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.3296, allocations: 39.92 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3299, allocations: 39.91 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.3305, allocations: 330.6 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3309, allocations: 0.7319 MB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.3309, allocations: 15.44 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3309, allocations: 0 / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of Templates: time 0.004981/0.3359, allocations: 2.475 MB / 1.03 GB, free: 13.68 MB / 0.8106 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/jenkins1/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