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.0018/0.0018, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002184/0.002184, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.812 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.22/3.22, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.002086/0.002086, allocations: 61.72 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002079/0.399, allocations: 0.6477 MB / 1.326 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4002, allocations: 0.8203 MB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.4003, allocations: 4 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.4004, allocations: 7.938 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/0.4004, allocations: 7.984 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.4006, allocations: 4.047 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.4006, allocations: 27.86 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4008, allocations: 8 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.4008, allocations: 11.92 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.4009, allocations: 19.86 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.4009, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.4009, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.4009, allocations: 12 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.401, allocations: 7.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.4011, allocations: 35.81 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4011, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4011, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4011, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 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.0004893/0.4016, allocations: 270.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4016, allocations: 12.03 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.4017, allocations: 34.73 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.4017, allocations: 4.891 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4019, allocations: 110.5 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4019, allocations: 8.375 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.4019, allocations: 384 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4021, allocations: 54.23 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4021, allocations: 3.938 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4021, allocations: 4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4021, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.4023, allocations: 39.89 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.4027, allocations: 244 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4028, allocations: 30.56 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.4029, allocations: 24.83 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.4029, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.403, allocations: 42.55 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.403, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003655/0.4033, allocations: 81.58 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.4034, allocations: 51.41 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.4035, allocations: 101.9 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4035, allocations: 25.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.4035, allocations: 84.12 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.4036, allocations: 3.953 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.4036, allocations: 17.72 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4037, allocations: 314.8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.4038, allocations: 20.05 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.4039, allocations: 23.97 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.404, allocations: 32.83 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.404, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001769/0.4042, allocations: 61.66 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4042, allocations: 9.969 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4042, allocations: 7.938 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4042, allocations: 256 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.4043, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4043, allocations: 7.984 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.4044, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4044, allocations: 0 / 1.329 GB, free: 13.98 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 9.923e-05/0.4045, allocations: 122.2 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4045, allocations: 3.984 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.4045, allocations: 7.156 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4045, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4045, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4045, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4047, allocations: 128.7 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4047, allocations: 0 / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.4048, allocations: 7.984 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4048, allocations: 4 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4048, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4048, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4048, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.405, allocations: 163.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.405, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.405, allocations: 3.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.4051, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.4051, allocations: 3.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.4051, allocations: 3.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.4052, allocations: 83.28 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4052, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002073/0.4054, allocations: 8.031 kB / 1.33 GB, free: 13.36 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.0005587/0.4059, allocations: 0.689 MB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.4061, allocations: 35.95 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4061, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.4062, allocations: 20.02 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.4065, allocations: 5.031 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.408, allocations: 1.218 MB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/0.4081, allocations: 67.53 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.4081, allocations: 15.98 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.4082, allocations: 11.44 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.4082, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.4373, allocations: 1.845 MB / 1.333 GB, free: 9.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.56, allocations: 12.84 kB / 1.333 GB, free: 9.453 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.500894074997632]