Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_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.008387/0.008388, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001976/0.001976, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001766/1.046, allocations: 0.6495 MB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008507/1.046, allocations: 0.7897 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/1.046, allocations: 0 / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/1.047, allocations: 5.031 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.713e-05/1.047, allocations: 4.75 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/1.047, allocations: 9.031 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/1.047, allocations: 28.31 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/1.047, allocations: 6.672 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/1.047, allocations: 8.797 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/1.047, allocations: 14.73 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/1.047, allocations: 2.531 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/1.047, allocations: 1.312 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/1.047, allocations: 9.391 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/1.047, allocations: 19.86 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.921e-05/1.047, allocations: 37.11 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.047, allocations: 0.6094 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/1.047, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.04e-06/1.047, allocations: 4.844 kB / 1.089 GB, free: 4.195 MB / 0.8575 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.0003896/1.048, allocations: 339.5 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.048, allocations: 9.719 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.669e-05/1.048, allocations: 32.58 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/1.048, allocations: 3.797 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.048, allocations: 178 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/1.048, allocations: 1.125 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.048, allocations: 2.906 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/1.048, allocations: 56.3 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.048, allocations: 3.938 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.048, allocations: 1.219 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.048, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/1.048, allocations: 43.73 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/1.049, allocations: 279 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/1.049, allocations: 28.22 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/1.049, allocations: 24 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/1.049, allocations: 7.938 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/1.049, allocations: 32.47 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.049, allocations: 0 / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003316/1.049, allocations: 72.14 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/1.049, allocations: 52.06 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/1.049, allocations: 103 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-06/1.049, allocations: 29.83 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/1.049, allocations: 91.25 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/1.049, allocations: 5.938 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/1.049, allocations: 10.91 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/1.05, allocations: 317.1 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/1.05, allocations: 18.33 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/1.05, allocations: 25.67 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.05, allocations: 35.77 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.05, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001799/1.05, allocations: 64.25 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.05, allocations: 5.438 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.05, allocations: 4.781 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.05, allocations: 5.156 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/1.05, allocations: 6.328 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.05, allocations: 1.797 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/1.05, allocations: 9.359 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/1.05, allocations: 5.109 kB / 1.091 GB, free: 2.43 MB / 0.8575 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.903e-05/1.05, allocations: 121.4 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/1.05, allocations: 4.812 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/1.05, allocations: 5.141 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/1.05, allocations: 4 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.05, allocations: 2.109 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.05, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/1.05, allocations: 161.7 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.05, allocations: 0 / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/1.051, allocations: 7.375 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.051, allocations: 1.859 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/1.051, allocations: 0 / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.051, allocations: 0.7031 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.051, allocations: 1.375 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/1.051, allocations: 163.2 kB / 1.091 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/1.051, allocations: 78.72 kB / 1.091 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/1.051, allocations: 0.6094 kB / 1.091 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/1.051, allocations: 6.312 kB / 1.091 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/1.051, allocations: 2.312 kB / 1.091 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/1.051, allocations: 5.031 kB / 1.091 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.904e-05/1.051, allocations: 87.64 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.051, allocations: 1.125 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002138/1.051, allocations: 10.94 kB / 1.091 GB, free: 1.766 MB / 0.8575 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.0004581/1.052, allocations: 0.694 MB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002155/1.052, allocations: 36.84 kB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.052, allocations: 0 / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/1.052, allocations: 23.05 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.052, allocations: 5.625 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.054, allocations: 1.222 MB / 1.093 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.054, allocations: 0.6789 MB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.741e-05/1.054, allocations: 3.625 kB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/1.054, allocations: 9.172 kB / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/1.054, allocations: 0 / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/1.076, allocations: 1.294 MB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/8.486, allocations: 6.312 kB / 1.095 GB, free: 14.84 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches