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.001317/0.001317, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.00126/0.00126, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.04 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.534/2.534, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 76.28 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002426/0.3198, allocations: 0.8655 MB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.322, allocations: 1.293 MB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.3221, allocations: 0 / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3223, allocations: 19.8 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.3224, allocations: 27.72 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.3232, allocations: 274.1 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.3235, allocations: 335.5 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3237, allocations: 65.44 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3239, allocations: 123.7 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3242, allocations: 123.6 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.3243, allocations: 28 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.3244, allocations: 43.98 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.3244, allocations: 39.91 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3246, allocations: 119.4 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.325, allocations: 331.2 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.325, allocations: 8 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.325, allocations: 3.938 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.325, allocations: 4 kB / 1.022 GB, free: 6.922 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.0007248/0.3257, allocations: 0.535 MB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3258, allocations: 12.92 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.3258, allocations: 28.66 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.3265, allocations: 296 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.3266, allocations: 16.31 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3266, allocations: 16.38 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.3269, allocations: 148.2 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3269, allocations: 7.938 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3269, allocations: 4 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3269, allocations: 4 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.327, allocations: 59.91 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.3279, allocations: 0.7546 MB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.328, allocations: 61.17 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.3281, allocations: 25.72 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3281, allocations: 11.98 kB / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.3283, allocations: 100.9 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3283, allocations: 0 / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0003012/0.3286, allocations: 121.5 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3287, allocations: 85.09 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3289, allocations: 212.6 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.329, allocations: 29.7 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3291, allocations: 147.8 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.3291, allocations: 19.8 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3292, allocations: 57.69 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3294, allocations: 330.8 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3296, allocations: 63.97 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.3297, allocations: 122.8 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.33, allocations: 198.1 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.33, allocations: 4 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005055/0.3305, allocations: 292.6 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.3306, allocations: 63.41 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3306, allocations: 480 / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3306, allocations: 4 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.3307, allocations: 15.98 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3307, allocations: 7.922 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.3311, allocations: 56.06 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.3311, allocations: 15.98 kB / 1.025 GB, free: 2.68 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.0001584/0.3313, allocations: 146.4 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3313, allocations: 23.73 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3313, allocations: 24.92 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3314, allocations: 0 / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3314, allocations: 0 / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3314, allocations: 4 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3316, allocations: 237.4 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3316, allocations: 0 / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.3316, allocations: 11.94 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3317, allocations: 0 / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3317, allocations: 7.938 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3317, allocations: 4 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3317, allocations: 0 / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3319, allocations: 129.8 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.3319, allocations: 92.91 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.332, allocations: 4 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.937e-05/0.332, allocations: 0 / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.332, allocations: 7.984 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.332, allocations: 4 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001322/0.3322, allocations: 152.5 kB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3322, allocations: 0 / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002734/0.3325, allocations: 43.84 kB / 1.026 GB, free: 1.711 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.0001644/0.3326, allocations: 111.2 kB / 1.026 GB, free: 1.594 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.3331, allocations: 258.7 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3331, allocations: 4 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.3331, allocations: 36.3 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3335, allocations: 43.84 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.334, allocations: 326.6 kB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3344, allocations: 0.7319 MB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3345, allocations: 15.44 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.3345, allocations: 0 / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of Templates: time 0.00459/0.3391, allocations: 2.465 MB / 1.03 GB, free: 13.67 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=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/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