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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005008/0.005008, allocations: 102.1 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 195.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.932/2.932, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002356, allocations: 59.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3845, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00308/0.3877, allocations: 0.6464 MB / 1.208 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3892, allocations: 0.7884 MB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.3893, allocations: 0 / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3895, allocations: 0 / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.3896, allocations: 3.938 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.3898, allocations: 11.98 kB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3899, allocations: 19.92 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3901, allocations: 15.98 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.3902, allocations: 15.92 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.3902, allocations: 4 kB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3903, allocations: 0 / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.3903, allocations: 4 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3904, allocations: 11.92 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.3904, allocations: 11.94 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3906, allocations: 35.89 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3906, allocations: 0 / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.035e-06/0.3906, allocations: 0 / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.3906, allocations: 0 / 1.209 GB, free: 8.523 MB / 0.9669 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.0007128/0.3913, allocations: 343.7 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/0.3914, allocations: 8.625 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.3915, allocations: 34.75 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3915, allocations: 4.938 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3918, allocations: 184.2 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.3918, allocations: 384 / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3918, allocations: 384 / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3921, allocations: 54.23 kB / 1.209 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3921, allocations: 7.938 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3921, allocations: 4 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3921, allocations: 0 / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3923, allocations: 35.95 kB / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.3929, allocations: 276.8 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.393, allocations: 34.55 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.258e-05/0.3931, allocations: 20.91 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3931, allocations: 3.938 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.3932, allocations: 34.56 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 2.315e-06/0.3932, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003998/0.3936, allocations: 85.48 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3937, allocations: 51.41 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3938, allocations: 97.86 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3938, allocations: 29.64 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.3939, allocations: 96.06 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3939, allocations: 3.906 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.394, allocations: 9.719 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.3942, allocations: 322.9 kB / 1.21 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.3942, allocations: 19.97 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.3943, allocations: 11.98 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3945, allocations: 32.83 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3945, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001757/0.3947, allocations: 73.66 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3947, allocations: 4 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3947, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3947, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.3948, allocations: 7.984 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3948, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3949, allocations: 4 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3949, allocations: 32 / 1.211 GB, free: 6.43 MB / 0.9669 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.0001038/0.395, allocations: 125.8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.395, allocations: 256 / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.3951, allocations: 7.125 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3951, allocations: 0 / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3951, allocations: 4 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.3951, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3954, allocations: 165.6 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3954, allocations: 4 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.3954, allocations: 8 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3955, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3955, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.3955, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3955, allocations: 7.922 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.3957, allocations: 163.4 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3958, allocations: 81.05 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3958, allocations: 7.984 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.3959, allocations: 4 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3959, allocations: 0 / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.396, allocations: 0 / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.396, allocations: 83.27 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.396, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002355/0.3963, allocations: 4 kB / 1.211 GB, free: 5.688 MB / 0.9669 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.0007474/0.397, allocations: 0.6967 MB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3972, allocations: 39.89 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3973, allocations: 96 / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.3973, allocations: 19.98 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3977, allocations: 7.984 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3993, allocations: 1.229 MB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3997, allocations: 0.6846 MB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.3997, allocations: 4 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3998, allocations: 15.36 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.01e-07/0.3998, allocations: 0 / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.4192, allocations: 1.295 MB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.901, allocations: 14.48 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB (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 --timeout=50 --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) 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) Reference file matches