Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001214/0.001214, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001469/0.001469, allocations: 191 kB / 22.1 MB, free: 4.285 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.592/1.592, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.059/3.059, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 72.03 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34/1.342, allocations: 173.6 MB / 1.307 GB, free: 34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002067/1.344, allocations: 0.6403 MB / 1.307 GB, free: 33.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000868/1.345, allocations: 0.807 MB / 1.308 GB, free: 32.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/1.345, allocations: 7.938 kB / 1.308 GB, free: 32.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/1.345, allocations: 0 / 1.308 GB, free: 32.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/1.345, allocations: 6.844 kB / 1.308 GB, free: 32.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/1.345, allocations: 7.141 kB / 1.308 GB, free: 32.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/1.345, allocations: 27.03 kB / 1.308 GB, free: 32.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/1.346, allocations: 0 / 1.308 GB, free: 32.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/1.346, allocations: 9.75 kB / 1.308 GB, free: 32.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/1.346, allocations: 18.11 kB / 1.308 GB, free: 32.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/1.346, allocations: 2.875 kB / 1.308 GB, free: 32.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/1.346, allocations: 0 / 1.308 GB, free: 32.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/1.346, allocations: 14.08 kB / 1.308 GB, free: 32.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/1.346, allocations: 18.91 kB / 1.308 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/1.346, allocations: 30.09 kB / 1.308 GB, free: 32.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.346, allocations: 2.938 kB / 1.308 GB, free: 32.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.346, allocations: 0 / 1.308 GB, free: 32.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.346, allocations: 0 / 1.308 GB, free: 32.91 MB / 1.061 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.0004477/1.346, allocations: 266.3 kB / 1.309 GB, free: 32.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.346, allocations: 14.27 kB / 1.309 GB, free: 32.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/1.346, allocations: 0.9375 kB / 1.309 GB, free: 32.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.347, allocations: 111.7 kB / 1.309 GB, free: 32.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/1.347, allocations: 4.375 kB / 1.309 GB, free: 32.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/1.347, allocations: 7.281 kB / 1.309 GB, free: 32.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.347, allocations: 58.25 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.347, allocations: 192 / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/1.347, allocations: 3.938 kB / 1.309 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.347, allocations: 2.812 kB / 1.309 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/1.347, allocations: 38.28 kB / 1.309 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/1.347, allocations: 251.8 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.347, allocations: 33.78 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/1.348, allocations: 17.02 kB / 1.309 GB, free: 32.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/1.348, allocations: 2.812 kB / 1.309 GB, free: 32.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/1.348, allocations: 34.56 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/1.348, allocations: 0 / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003373/1.348, allocations: 80.25 kB / 1.309 GB, free: 32.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/1.348, allocations: 54.34 kB / 1.309 GB, free: 32.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/1.348, allocations: 102.8 kB / 1.309 GB, free: 31.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/1.348, allocations: 25.83 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/1.348, allocations: 94.84 kB / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/1.348, allocations: 3.938 kB / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/1.348, allocations: 9.719 kB / 1.309 GB, free: 31.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/1.348, allocations: 325.1 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/1.348, allocations: 12.42 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/1.348, allocations: 19.58 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/1.348, allocations: 33.61 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.348, allocations: 2.781 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001644/1.349, allocations: 65.83 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.349, allocations: 4.875 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.349, allocations: 2.938 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.349, allocations: 0 / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/1.349, allocations: 10.16 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.349, allocations: 0 / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/1.349, allocations: 13.42 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/1.349, allocations: 0 / 1.31 GB, free: 31.39 MB / 1.061 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 5.857e-05/1.349, allocations: 116.5 kB / 1.31 GB, free: 31.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/1.349, allocations: 0 / 1.31 GB, free: 31.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/1.349, allocations: 3.156 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.349, allocations: 2.844 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.349, allocations: 4 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.349, allocations: 0 / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/1.349, allocations: 137.3 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.349, allocations: 0 / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/1.349, allocations: 13.2 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/1.349, allocations: 0 / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/1.349, allocations: 0 / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.349, allocations: 0 / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.349, allocations: 256 / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/1.349, allocations: 167.8 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/1.349, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/1.349, allocations: 4 kB / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/1.349, allocations: 9.016 kB / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/1.349, allocations: 0 / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/1.349, allocations: 3.984 kB / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.645e-05/1.349, allocations: 92.53 kB / 1.31 GB, free: 30.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.349, allocations: 0 / 1.31 GB, free: 30.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002047/1.35, allocations: 10.64 kB / 1.31 GB, free: 30.85 MB / 1.061 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.0001066/1.35, allocations: 94.16 kB / 1.311 GB, free: 30.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001986/1.35, allocations: 32.17 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.35, allocations: 3.062 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/1.35, allocations: 23.56 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.35, allocations: 13.47 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/1.351, allocations: 106.4 kB / 1.311 GB, free: 30.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/1.351, allocations: 0.6778 MB / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.732e-05/1.351, allocations: 3.562 kB / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/1.351, allocations: 10.31 kB / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.351, allocations: 0 / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of Templates: time 0.002828/1.354, allocations: 438.9 kB / 1.312 GB, free: 29.85 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.426588482223451]