Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437.1 MB / 0.7177 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] 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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002063/0.3304, allocations: 0.636 MB / 1.176 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3316, allocations: 0.8083 MB / 1.177 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.3316, allocations: 0 / 1.177 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.548e-05/0.3318, allocations: 7.938 kB / 1.177 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.105e-05/0.3318, allocations: 3.938 kB / 1.177 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.3319, allocations: 7.984 kB / 1.177 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.332, allocations: 19.98 kB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3321, allocations: 11.98 kB / 1.177 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.3322, allocations: 11.92 kB / 1.177 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.3322, allocations: 15.92 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3323, allocations: 4 kB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-06/0.3323, allocations: 0 / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.3323, allocations: 11.94 kB / 1.177 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.3324, allocations: 15.92 kB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.12e-05/0.3325, allocations: 23.84 kB / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3325, allocations: 0 / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3325, allocations: 0 / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3325, allocations: 0 / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005653/0.3331, allocations: 351.4 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3331, allocations: 16.02 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3332, allocations: 4.891 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3334, allocations: 164.4 kB / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3334, allocations: 384 / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3334, allocations: 4.375 kB / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3336, allocations: 58.17 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3336, allocations: 4.188 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3337, allocations: 3.938 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3337, allocations: 0 / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3338, allocations: 39.95 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.3343, allocations: 276.8 kB / 1.178 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3344, allocations: 42.48 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/0.3345, allocations: 16.91 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3346, allocations: 0 / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3346, allocations: 38.56 kB / 1.178 GB, free: 3.168 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3346, allocations: 0 / 1.178 GB, free: 3.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003641/0.335, allocations: 81.64 kB / 1.178 GB, free: 3.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.335, allocations: 55.34 kB / 1.178 GB, free: 3.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.3351, allocations: 101.8 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3352, allocations: 33.64 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.3352, allocations: 84.09 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.3352, allocations: 3.938 kB / 1.179 GB, free: 2.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.3353, allocations: 17.72 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3355, allocations: 318.9 kB / 1.179 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.3356, allocations: 15.97 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.3356, allocations: 15.98 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3358, allocations: 36.83 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3358, allocations: 0 / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002006/0.336, allocations: 65.66 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.336, allocations: 4 kB / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.336, allocations: 0 / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3361, allocations: 0 / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.3362, allocations: 11.98 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3362, allocations: 4 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.3362, allocations: 0 / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3362, allocations: 4 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.495e-05/0.3363, allocations: 117.8 kB / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3364, allocations: 3.953 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/0.3364, allocations: 7.125 kB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3364, allocations: 0 / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3364, allocations: 0 / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3364, allocations: 0 / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3366, allocations: 173.5 kB / 1.179 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3366, allocations: 0 / 1.179 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.3367, allocations: 4 kB / 1.179 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3367, allocations: 4 kB / 1.179 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3367, allocations: 3.984 kB / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3367, allocations: 0 / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3367, allocations: 0 / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.337, allocations: 159.4 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.3371, allocations: 81.09 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.3371, allocations: 4.031 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3372, allocations: 4.25 kB / 1.18 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.3372, allocations: 7.969 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3372, allocations: 4 kB / 1.18 GB, free: 1.613 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.3373, allocations: 87.22 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3373, allocations: 0 / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002171/0.3375, allocations: 4 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001323/0.3376, allocations: 103.2 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3379, allocations: 35.95 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3379, allocations: 0 / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.338, allocations: 19.92 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3383, allocations: 16.17 kB / 1.18 GB, free: 1.344 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.3386, allocations: 131.3 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.339, allocations: 0.6807 MB / 1.181 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.339, allocations: 7.438 kB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.339, allocations: 0 / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of Templates: time 0.002197/0.3412, allocations: 0.5759 MB / 1.181 GB, free: 15.9 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.314162136986852]