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.002147/0.002147, allocations: 107.7 kB / 16.46 MB, free: 6.453 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.002371/0.002371, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.668/1.668, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.319/3.319, allocations: 0.49 GB / 0.7916 GB, free: 33.36 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.002153/0.002153, allocations: 78.55 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3977, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00247/0.4001, allocations: 0.6573 MB / 1.321 GB, free: 2.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4014, allocations: 0.8202 MB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.4015, allocations: 4 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.4016, allocations: 4 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.86e-05/0.4016, allocations: 3.938 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.4018, allocations: 7.984 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4019, allocations: 23.92 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.402, allocations: 15.94 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.402, allocations: 7.984 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.4021, allocations: 15.92 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.4021, allocations: 0 / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.4021, allocations: 4 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.4022, allocations: 12 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.4023, allocations: 11.92 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.4024, allocations: 31.83 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4024, allocations: 0 / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4024, allocations: 0 / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4024, allocations: 0 / 1.322 GB, free: 1.746 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.0005467/0.4029, allocations: 351.4 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.403, allocations: 11.98 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.403, allocations: 30.75 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.4031, allocations: 16.83 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.4033, allocations: 172.3 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4033, allocations: 8.312 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4033, allocations: 384 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4035, allocations: 54.23 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4035, allocations: 3.938 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4035, allocations: 0 / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4035, allocations: 0 / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.4037, allocations: 43.97 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.4042, allocations: 280.8 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.4043, allocations: 26.56 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.4044, allocations: 20.91 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.4044, allocations: 4 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.4045, allocations: 34.56 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.4045, allocations: 0 / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003663/0.4048, allocations: 77.58 kB / 1.323 GB, free: 464 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.4049, allocations: 51.41 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.405, allocations: 106 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.405, allocations: 29.7 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.4051, allocations: 88.14 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.4051, allocations: 3.953 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.4051, allocations: 9.719 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002523/0.4054, allocations: 322.8 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.4055, allocations: 15.98 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.4056, allocations: 15.98 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.4057, allocations: 40.75 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4057, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002013/0.4059, allocations: 61.67 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.406, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.406, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.406, allocations: 4.094 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.4061, allocations: 7.984 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4061, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.4061, allocations: 11.97 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4061, allocations: 3.938 kB / 1.324 GB, free: 15.64 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.879e-05/0.4062, allocations: 113.8 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.4063, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.4063, allocations: 11.12 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4063, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4063, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4063, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.4065, allocations: 165.5 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.4065, allocations: 4 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.4065, allocations: 7.984 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4065, allocations: 3.938 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4066, allocations: 3.938 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4066, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4066, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.4068, allocations: 163.4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.4069, allocations: 81.11 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.4069, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.407, allocations: 11.98 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.407, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.407, allocations: 256 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.407, allocations: 87.31 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.407, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002143/0.4073, allocations: 4 kB / 1.325 GB, free: 14.89 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.0006055/0.4079, allocations: 0.6968 MB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.4081, allocations: 35.95 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4081, allocations: 0 / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.4082, allocations: 11.98 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.4085, allocations: 10.81 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.41, allocations: 1.225 MB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.4103, allocations: 0.6768 MB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.4103, allocations: 7.984 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.4104, allocations: 11.44 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4104, allocations: 0 / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4338, allocations: 1.315 MB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.528, allocations: 11.91 kB / 1.329 GB, free: 10.9 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.623546959133819]