Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.88 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001928/1.068, allocations: 0.6649 MB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001001/1.069, allocations: 0.789 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/1.069, allocations: 4.75 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/1.069, allocations: 4 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/1.069, allocations: 5.75 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/1.069, allocations: 16.39 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/1.069, allocations: 26.39 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/1.069, allocations: 8 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/1.07, allocations: 9.562 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/1.07, allocations: 10.2 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/1.07, allocations: 2.219 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/1.07, allocations: 2.25 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/1.07, allocations: 13.61 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/1.07, allocations: 12.41 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/1.07, allocations: 28.41 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.07, allocations: 5.031 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.07, allocations: 0 / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.07, allocations: 0 / 1.273 GB, free: 6.609 MB / 0.9981 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.0003943/1.07, allocations: 345.5 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.07, allocations: 9.703 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/1.07, allocations: 36.2 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.918e-05/1.07, allocations: 3.219 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.07, allocations: 170.6 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.07, allocations: 5.219 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/1.07, allocations: 6.188 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/1.071, allocations: 53.55 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.071, allocations: 3.938 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/1.071, allocations: 4.844 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.071, allocations: 0.6562 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/1.071, allocations: 34.36 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/1.071, allocations: 283.3 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/1.071, allocations: 29.23 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/1.071, allocations: 22.42 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/1.071, allocations: 0 / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/1.071, allocations: 40.03 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/1.071, allocations: 0.9062 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003442/1.072, allocations: 76.77 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.072, allocations: 52.16 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/1.072, allocations: 102.5 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/1.072, allocations: 25.7 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/1.072, allocations: 95.36 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/1.072, allocations: 0.8438 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/1.072, allocations: 12.62 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/1.072, allocations: 320.7 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/1.072, allocations: 18.52 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/1.072, allocations: 13.84 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/1.072, allocations: 43.19 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.072, allocations: 4 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001791/1.072, allocations: 66.44 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.072, allocations: 4.812 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.072, allocations: 0.9375 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.072, allocations: 0 / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/1.073, allocations: 8.641 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/1.073, allocations: 4.031 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/1.073, allocations: 4.484 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/1.073, allocations: 0.7031 kB / 1.275 GB, free: 4.844 MB / 0.9981 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 4.4e-05/1.073, allocations: 113.4 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/1.073, allocations: 1.094 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/1.073, allocations: 10.66 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.073, allocations: 0.9688 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/1.073, allocations: 0 / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/1.073, allocations: 4.656 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/1.073, allocations: 162.1 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.073, allocations: 0 / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/1.073, allocations: 10.02 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.073, allocations: 0.9688 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/1.073, allocations: 2.391 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.073, allocations: 1.188 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.073, allocations: 0 / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/1.073, allocations: 165.4 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/1.073, allocations: 78.05 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/1.073, allocations: 4.891 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/1.073, allocations: 8.703 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/1.073, allocations: 0.9375 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/1.073, allocations: 3.344 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.336e-05/1.073, allocations: 78.84 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.073, allocations: 4.875 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002154/1.073, allocations: 7.609 kB / 1.276 GB, free: 4.188 MB / 0.9981 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.0004054/1.074, allocations: 0.6938 MB / 1.276 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002142/1.074, allocations: 36.2 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.074, allocations: 0.9688 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/1.074, allocations: 13.86 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/1.074, allocations: 13.19 kB / 1.276 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/1.076, allocations: 1.244 MB / 1.277 GB, free: 18.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.076, allocations: 0.6776 MB / 1.278 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.581e-05/1.076, allocations: 3.078 kB / 1.278 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/1.076, allocations: 14.44 kB / 1.278 GB, free: 17.61 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.076, allocations: 0 / 1.278 GB, free: 17.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/1.103, allocations: 1.271 MB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.986, allocations: 10.05 kB / 1.279 GB, free: 17.24 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.198862585006282]