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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 104.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.533/3.533, allocations: 0.4899 GB / 0.7915 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 68.16 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4497, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002316/0.452, allocations: 0.6571 MB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.4533, allocations: 0.8241 MB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.4534, allocations: 4 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.4535, allocations: 3.938 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.4536, allocations: 3.938 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.4537, allocations: 7.984 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.4538, allocations: 23.92 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4539, allocations: 8 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.454, allocations: 11.92 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.4541, allocations: 19.91 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4541, allocations: 4 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-06/0.4541, allocations: 0 / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.4542, allocations: 12 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.4542, allocations: 11.94 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.4543, allocations: 27.83 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4543, allocations: 4 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4543, allocations: 0 / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4543, allocations: 4 kB / 1.323 GB, free: 1.203 MB / 1.014 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.0005598/0.4549, allocations: 339.4 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4549, allocations: 15.98 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.455, allocations: 8.875 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.4552, allocations: 168.4 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4552, allocations: 384 / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.4552, allocations: 12.31 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.4554, allocations: 54.17 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4554, allocations: 192 / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4554, allocations: 3.938 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.4554, allocations: 4 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.4556, allocations: 39.95 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.4561, allocations: 272.9 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4562, allocations: 38.48 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.4563, allocations: 20.89 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.4563, allocations: 4 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4563, allocations: 38.56 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4563, allocations: 0 / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003821/0.4567, allocations: 77.58 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.4568, allocations: 51.41 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.4569, allocations: 105.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4569, allocations: 29.83 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.4569, allocations: 84.12 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.4569, allocations: 7.891 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.457, allocations: 17.72 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4571, allocations: 314.8 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.4572, allocations: 15.97 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.4573, allocations: 15.98 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.4574, allocations: 40.89 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4574, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001997/0.4576, allocations: 65.59 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4577, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4577, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4577, allocations: 32 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.4578, allocations: 12.23 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4578, allocations: 4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.4578, allocations: 8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4578, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 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.915e-05/0.4579, allocations: 113.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4579, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.458, allocations: 3.125 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.458, allocations: 3.938 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.458, allocations: 4 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.458, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.4582, allocations: 173.5 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4582, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.4582, allocations: 4 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4582, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4582, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4582, allocations: 3.984 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4582, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.4585, allocations: 167.4 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.4586, allocations: 81.09 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4586, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.4587, allocations: 4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.4587, allocations: 3.984 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.4587, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.4588, allocations: 87.31 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4588, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002201/0.459, allocations: 4 kB / 1.325 GB, free: 14.4 MB / 1.029 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.0001813/0.4592, allocations: 103.2 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.4594, allocations: 35.95 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4594, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.4595, allocations: 23.98 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.4599, allocations: 11.88 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.4604, allocations: 105.5 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4607, allocations: 0.6768 MB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.4608, allocations: 7.984 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4608, allocations: 7.438 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of SimCode: time 7.52e-07/0.4608, allocations: 4.062 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of Templates: time 0.003654/0.4645, allocations: 427.4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.76920268125832]