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.00216/0.00216, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002397/0.002397, allocations: 217 kB / 23.03 MB, free: 4.949 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 / 256.8 MB, free: 7.785 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.308/3.308, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 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.001963/0.001963, allocations: 66.33 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3753, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002373/0.3777, allocations: 0.6416 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.379, allocations: 0.8241 MB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.3791, allocations: 8 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3792, allocations: 3.938 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.3793, allocations: 3.938 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.3794, allocations: 11.98 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3795, allocations: 27.97 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3797, allocations: 0 / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.3797, allocations: 11.94 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.3798, allocations: 15.92 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3798, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.3798, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.3799, allocations: 7.984 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.38, allocations: 15.94 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3801, allocations: 31.88 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3801, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3801, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3801, allocations: 4 kB / 1.347 GB, free: 14.34 MB / 1.045 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.0005777/0.3807, allocations: 270.2 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3808, allocations: 8.031 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.3808, allocations: 192 / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3808, allocations: 30.75 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.3808, allocations: 12.89 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3811, allocations: 114.5 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3811, allocations: 4.359 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3811, allocations: 4.375 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3813, allocations: 61.92 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3814, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3814, allocations: 4 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3814, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3815, allocations: 35.95 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3821, allocations: 244 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3822, allocations: 34.5 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.3823, allocations: 20.91 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3823, allocations: 0 / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3823, allocations: 38.55 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.3823, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0003738/0.3827, allocations: 77.59 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.3828, allocations: 51.41 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3829, allocations: 105.8 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3829, allocations: 25.7 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.383, allocations: 92.09 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.383, allocations: 7.922 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.383, allocations: 9.719 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3832, allocations: 322.8 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.3833, allocations: 16.11 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.3834, allocations: 11.98 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3835, allocations: 36.81 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3835, allocations: 0 / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002087/0.3837, allocations: 65.61 kB / 1.348 GB, free: 12.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3837, allocations: 16.02 kB / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3837, allocations: 0 / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3838, allocations: 0 / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.3838, allocations: 4 kB / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3839, allocations: 0 / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.3839, allocations: 7.984 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3839, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 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.671e-05/0.384, allocations: 121.7 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.384, allocations: 3.953 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.3841, allocations: 15.14 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3841, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3841, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3841, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3843, allocations: 132.7 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3843, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.3843, allocations: 4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3843, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3843, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3843, allocations: 3.984 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3843, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3847, allocations: 167.4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.3847, allocations: 3.984 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3847, allocations: 0 / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.3848, allocations: 4.25 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3848, allocations: 7.984 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3848, allocations: 4 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.3849, allocations: 83.28 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3849, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002096/0.3851, allocations: 8.031 kB / 1.349 GB, free: 11.82 MB / 1.045 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.0006691/0.3857, allocations: 0.685 MB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.386, allocations: 39.89 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.386, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.386, allocations: 28.02 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3864, allocations: 4.672 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3879, allocations: 1.222 MB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.388, allocations: 63.44 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.3881, allocations: 7.984 kB / 1.351 GB, free: 9.648 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.3881, allocations: 7.438 kB / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.3881, allocations: 0 / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.41, allocations: 1.473 MB / 1.352 GB, free: 8.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 17.88 kB / 1.352 GB, free: 8.305 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.003849050961435]