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.001694/0.001694, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001484/0.001484, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_12_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.002008/0.002008, allocations: 64.09 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002166/0.3794, allocations: 0.6517 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3805, allocations: 0.8241 MB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.3806, allocations: 0 / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.3807, allocations: 4 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.3807, allocations: 3.938 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3809, allocations: 7.984 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.573e-05/0.3809, allocations: 23.92 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3811, allocations: 11.98 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.3811, allocations: 11.94 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.3812, allocations: 11.92 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3812, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.3812, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.3813, allocations: 11.98 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3813, allocations: 11.94 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.3814, allocations: 27.88 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3814, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3814, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3814, allocations: 0 / 1.328 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.0004927/0.3819, allocations: 270.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.382, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.382, allocations: 8.125 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.382, allocations: 34.75 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.382, allocations: 4.891 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3822, allocations: 114.5 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3822, allocations: 4.375 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3822, allocations: 4.375 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3824, allocations: 57.98 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3824, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3824, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3824, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3826, allocations: 39.91 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.383, allocations: 243.9 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3832, allocations: 30.56 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.3832, allocations: 24.84 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.3833, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3833, allocations: 38.5 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3833, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003319/0.3836, allocations: 73.64 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.3837, allocations: 55.41 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.3838, allocations: 101.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3838, allocations: 25.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.3838, allocations: 88.14 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.3838, allocations: 3.953 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.3839, allocations: 13.84 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.384, allocations: 322.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.3841, allocations: 15.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.3842, allocations: 11.98 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3843, allocations: 40.75 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3843, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001929/0.3845, allocations: 61.73 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3845, allocations: 5.875 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3845, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3845, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.3846, allocations: 7.984 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3846, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.3847, allocations: 3.984 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3847, allocations: 4 kB / 1.33 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 0.0001102/0.3848, allocations: 118.3 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3848, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.3849, allocations: 7.156 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3849, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3849, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3849, allocations: 3.938 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.385, allocations: 132.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.385, allocations: 256 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.3851, allocations: 7.984 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3851, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3851, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3851, allocations: 3.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3851, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3853, allocations: 159.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3854, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.3854, allocations: 11.98 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3855, allocations: 3.984 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3855, allocations: 4.031 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.3855, allocations: 87.2 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3855, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002127/0.3857, allocations: 4 kB / 1.33 GB, free: 13.35 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.0005749/0.3863, allocations: 0.6928 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3865, allocations: 32 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3865, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.3866, allocations: 23.91 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.3869, allocations: 9.203 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3885, allocations: 1.218 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.3886, allocations: 63.34 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.3886, allocations: 3.906 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3887, allocations: 19.42 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3887, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.4105, allocations: 1.462 MB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 11.69 kB / 1.334 GB, free: 9.848 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.79285536298994]