Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001839/0.001839, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002417/0.002417, allocations: 192 kB / 22.23 MB, free: 5.16 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.532/1.532, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.448/3.448, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 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-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 72.3 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4464, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002431/0.4488, allocations: 0.658 MB / 1.317 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.45, allocations: 0.7927 MB / 1.317 GB, free: 8.258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.45, allocations: 4 kB / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.4502, allocations: 7.938 kB / 1.317 GB, free: 8.246 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.078e-05/0.4502, allocations: 7.922 kB / 1.317 GB, free: 8.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.4503, allocations: 7.984 kB / 1.317 GB, free: 8.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.4504, allocations: 23.98 kB / 1.317 GB, free: 8.207 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4505, allocations: 0 / 1.317 GB, free: 8.207 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.4506, allocations: 19.86 kB / 1.317 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.4507, allocations: 8 kB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.4507, allocations: 4 kB / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.4507, allocations: 0 / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.4508, allocations: 15.92 kB / 1.318 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.4508, allocations: 15.94 kB / 1.318 GB, free: 8.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.4509, allocations: 27.88 kB / 1.318 GB, free: 8.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4509, allocations: 0 / 1.318 GB, free: 8.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4509, allocations: 0 / 1.318 GB, free: 8.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.4509, allocations: 0 / 1.318 GB, free: 8.117 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.000496/0.4514, allocations: 266.3 kB / 1.318 GB, free: 7.824 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4515, allocations: 12.03 kB / 1.318 GB, free: 7.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.4515, allocations: 4.938 kB / 1.318 GB, free: 7.809 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4517, allocations: 114.5 kB / 1.318 GB, free: 7.672 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4517, allocations: 8.375 kB / 1.318 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.4517, allocations: 4.375 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.4519, allocations: 58.17 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4519, allocations: 4.188 kB / 1.318 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.452, allocations: 3.938 kB / 1.318 GB, free: 7.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.452, allocations: 0 / 1.318 GB, free: 7.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4521, allocations: 35.95 kB / 1.318 GB, free: 7.555 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4526, allocations: 248 kB / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4527, allocations: 38.5 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.4528, allocations: 16.91 kB / 1.318 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4528, allocations: 3.938 kB / 1.318 GB, free: 7.199 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4528, allocations: 34.56 kB / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4528, allocations: 0 / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003682/0.4532, allocations: 77.64 kB / 1.318 GB, free: 7.074 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4533, allocations: 59.28 kB / 1.319 GB, free: 7.004 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4534, allocations: 105.8 kB / 1.319 GB, free: 6.891 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4534, allocations: 25.7 kB / 1.319 GB, free: 6.859 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.4534, allocations: 88.22 kB / 1.319 GB, free: 6.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.4534, allocations: 4 kB / 1.319 GB, free: 6.766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4535, allocations: 13.72 kB / 1.319 GB, free: 6.746 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4536, allocations: 318.8 kB / 1.319 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.4537, allocations: 11.98 kB / 1.319 GB, free: 6.414 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.4538, allocations: 19.98 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4539, allocations: 40.88 kB / 1.319 GB, free: 6.352 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4539, allocations: 0 / 1.319 GB, free: 6.352 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001866/0.4541, allocations: 57.62 kB / 1.319 GB, free: 6.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4541, allocations: 7.938 kB / 1.319 GB, free: 6.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4542, allocations: 4 kB / 1.319 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4542, allocations: 0 / 1.319 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.4543, allocations: 12.02 kB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4543, allocations: 0 / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.4543, allocations: 11.98 kB / 1.319 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.4543, allocations: 0 / 1.319 GB, free: 6.254 MB / 1.014 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 0.0001066/0.4544, allocations: 118.6 kB / 1.319 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.4545, allocations: 0 / 1.319 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.4545, allocations: 3.156 kB / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4545, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4545, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4545, allocations: 4 kB / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.4547, allocations: 140.7 kB / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4547, allocations: 256 / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.4547, allocations: 7.984 kB / 1.319 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4547, allocations: 4 kB / 1.319 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4547, allocations: 4 kB / 1.319 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4547, allocations: 0 / 1.319 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4547, allocations: 3.938 kB / 1.319 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.455, allocations: 163.4 kB / 1.32 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.455, allocations: 3.953 kB / 1.32 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.455, allocations: 4 kB / 1.32 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.4551, allocations: 7.984 kB / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.4552, allocations: 0 / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4552, allocations: 0 / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.4552, allocations: 83.28 kB / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4552, allocations: 4.031 kB / 1.32 GB, free: 5.641 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002089/0.4554, allocations: 4 kB / 1.32 GB, free: 5.637 MB / 1.014 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.0001505/0.4556, allocations: 99.77 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.4558, allocations: 35.91 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4558, allocations: 4 kB / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.4559, allocations: 20.05 kB / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4563, allocations: 19.75 kB / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.4567, allocations: 109.5 kB / 1.32 GB, free: 5.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.457, allocations: 0.6807 MB / 1.321 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.4571, allocations: 0 / 1.321 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.4571, allocations: 7.438 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.4571, allocations: 0 / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of Templates: time 0.003137/0.4602, allocations: 431 kB / 1.321 GB, free: 4.188 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.829830814152956]