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.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.001333/0.001333, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001446/0.001446, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.598/1.598, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.193/3.193, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",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.001996/0.001996, allocations: 67.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9526/0.9546, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002382/0.9569, allocations: 0.655 MB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.9582, allocations: 0.8207 MB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.9583, allocations: 0 / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.9584, allocations: 4.75 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.9584, allocations: 5.812 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.9586, allocations: 8.422 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.611e-05/0.9586, allocations: 28.11 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.9588, allocations: 4.953 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.9588, allocations: 9.562 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.9589, allocations: 18.78 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.9589, allocations: 1.781 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.9589, allocations: 2.125 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.959, allocations: 9.359 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.959, allocations: 16.5 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.9591, allocations: 25.02 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9591, allocations: 0 / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9592, allocations: 0 / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.9592, allocations: 0.875 kB / 1.342 GB, free: 15.14 MB / 1.061 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.0004817/0.9596, allocations: 344.7 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.9597, allocations: 10.44 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.9597, allocations: 9.156 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.445e-05/0.9597, allocations: 44.59 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.9598, allocations: 6.359 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.9599, allocations: 167.4 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.9599, allocations: 5.5 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.9599, allocations: 1.5 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.9601, allocations: 56.48 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9601, allocations: 0 / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.9601, allocations: 1.094 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9601, allocations: 1.156 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.9603, allocations: 42.47 kB / 1.342 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.9607, allocations: 279 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.9608, allocations: 33.53 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.9609, allocations: 22.41 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.9609, allocations: 4 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.9609, allocations: 32.31 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9609, allocations: 0 / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000369/0.9613, allocations: 76.53 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.9613, allocations: 53.19 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.9613, allocations: 105.5 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.9614, allocations: 27.11 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.9614, allocations: 90.56 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.9614, allocations: 5.266 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.9614, allocations: 12.41 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.9615, allocations: 316.2 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.9616, allocations: 17.02 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.9616, allocations: 18.38 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.9618, allocations: 39.72 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9618, allocations: 256 / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001889/0.962, allocations: 61.75 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.962, allocations: 4.906 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.962, allocations: 8 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.962, allocations: 1.125 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.9621, allocations: 7.656 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9621, allocations: 3.938 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.9621, allocations: 6.562 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.9622, allocations: 1.406 kB / 1.344 GB, free: 13.37 MB / 1.061 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.68e-05/0.9622, allocations: 112.7 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.9622, allocations: 6.156 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.9623, allocations: 11.83 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9623, allocations: 1.188 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9623, allocations: 3.984 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.9623, allocations: 0.75 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.9624, allocations: 165.5 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9624, allocations: 0.7969 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.9625, allocations: 12.28 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9625, allocations: 0 / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.9625, allocations: 0 / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9625, allocations: 1.594 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9625, allocations: 4.797 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.9627, allocations: 155.4 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.9627, allocations: 80.03 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.9627, allocations: 0.7969 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.9628, allocations: 6.297 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.9628, allocations: 8.594 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.9628, allocations: 0 / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.9628, allocations: 82.91 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9628, allocations: 0 / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002118/0.963, allocations: 3.938 kB / 1.344 GB, free: 12.71 MB / 1.061 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.0003825/0.9634, allocations: 0.7028 MB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.9636, allocations: 31.53 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9636, allocations: 0 / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.9637, allocations: 15.62 kB / 1.345 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.964, allocations: 12.58 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.9651, allocations: 1.227 MB / 1.346 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.9653, allocations: 0.6799 MB / 1.347 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.9653, allocations: 3.375 kB / 1.347 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.9653, allocations: 12.23 kB / 1.347 GB, free: 10.14 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.9653, allocations: 7.969 kB / 1.347 GB, free: 10.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.9828, allocations: 1.354 MB / 1.348 GB, free: 9.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.421, allocations: 17.53 kB / 1.348 GB, free: 9.758 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 16.395724533998873]