Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001721/0.001721, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001819/0.001819, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.618/1.618, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.957/2.957, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25/1.252, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00222/1.254, allocations: 0.657 MB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/1.255, allocations: 0.7937 MB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/1.256, allocations: 0.7812 kB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/1.256, allocations: 5.625 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.413e-05/1.256, allocations: 12.72 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/1.256, allocations: 12.64 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.795e-05/1.256, allocations: 21.11 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/1.256, allocations: 7.5 kB / 1.273 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/1.256, allocations: 13.61 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/1.256, allocations: 10.44 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/1.256, allocations: 2.906 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/1.256, allocations: 2.281 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/1.256, allocations: 12.7 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/1.256, allocations: 16.39 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/1.256, allocations: 31.97 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.256, allocations: 0.6562 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.256, allocations: 0.8438 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.256, allocations: 0 / 1.274 GB, free: 6.828 MB / 0.9981 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.0004366/1.257, allocations: 342.5 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.257, allocations: 8.719 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/1.257, allocations: 7.5 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.257, allocations: 173.9 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.257, allocations: 6.094 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/1.257, allocations: 2.812 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.257, allocations: 59.86 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.257, allocations: 192 / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.257, allocations: 5.109 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/1.257, allocations: 0.875 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/1.257, allocations: 38.5 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/1.258, allocations: 277.9 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/1.258, allocations: 34.55 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/1.258, allocations: 19.56 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/1.258, allocations: 0.9375 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.258, allocations: 35.44 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.258, allocations: 0 / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003345/1.258, allocations: 80.5 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/1.258, allocations: 56.41 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/1.259, allocations: 100.2 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/1.259, allocations: 29.7 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/1.259, allocations: 94.09 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/1.259, allocations: 0.9688 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.259, allocations: 11.06 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/1.259, allocations: 320.7 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/1.259, allocations: 13.67 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/1.259, allocations: 18.77 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/1.259, allocations: 38.83 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.259, allocations: 0 / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001654/1.259, allocations: 69.23 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.259, allocations: 5.312 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.259, allocations: 0.6094 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.259, allocations: 1.062 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/1.259, allocations: 11.89 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.259, allocations: 0 / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/1.259, allocations: 6.625 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.259, allocations: 0.7188 kB / 1.275 GB, free: 5.105 MB / 0.9981 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.509e-05/1.259, allocations: 118 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/1.259, allocations: 1 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/1.259, allocations: 4.281 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.259, allocations: 1.062 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.259, allocations: 0 / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.259, allocations: 4 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/1.26, allocations: 163.7 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.26, allocations: 4 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/1.26, allocations: 6.625 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.26, allocations: 0.9375 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/1.26, allocations: 0 / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.26, allocations: 1.297 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.26, allocations: 0 / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/1.26, allocations: 168.4 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/1.26, allocations: 78.11 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.26, allocations: 7.297 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/1.26, allocations: 4.938 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/1.26, allocations: 1.578 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/1.26, allocations: 1.094 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.73e-05/1.26, allocations: 85.2 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.26, allocations: 4.031 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002094/1.26, allocations: 8.016 kB / 1.276 GB, free: 4.445 MB / 0.9981 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.0001273/1.26, allocations: 100.1 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002099/1.261, allocations: 31.89 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.261, allocations: 0 / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/1.261, allocations: 24.75 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/1.261, allocations: 10.5 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/1.261, allocations: 119.2 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/1.261, allocations: 0.6792 MB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.066e-05/1.261, allocations: 4.078 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/1.261, allocations: 12.44 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.261, allocations: 0 / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of Templates: time 0.003099/1.265, allocations: 426.4 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.912575670517981]