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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 196 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.401/2.401, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001516, allocations: 71.83 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7757, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002018/0.7778, allocations: 0.6366 MB / 0.9504 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.7786, allocations: 0.799 MB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.7787, allocations: 1 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.7788, allocations: 0 / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.7789, allocations: 5.219 kB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.779, allocations: 9.172 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.7791, allocations: 18.19 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.7792, allocations: 11.77 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.7792, allocations: 3.75 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.7793, allocations: 18.45 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.7793, allocations: 2.594 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.7793, allocations: 2.531 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.7794, allocations: 18.22 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.7795, allocations: 10.91 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.7796, allocations: 30.14 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7796, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7796, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7796, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 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.0004199/0.78, allocations: 349.4 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.7801, allocations: 10 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.7801, allocations: 34.75 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.7801, allocations: 8.031 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.7803, allocations: 175.4 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.7803, allocations: 4.312 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.7803, allocations: 6.922 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.7805, allocations: 52.23 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7805, allocations: 3.938 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.7805, allocations: 9.625 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7805, allocations: 0 / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.7807, allocations: 36.64 kB / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.7811, allocations: 277.4 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.7812, allocations: 32.22 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.7813, allocations: 25.98 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.7813, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.7813, allocations: 32.06 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.7813, allocations: 0 / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003188/0.7816, allocations: 77.66 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.7817, allocations: 55.39 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.7817, allocations: 99.89 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.7818, allocations: 26.8 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.7818, allocations: 89.25 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.7818, allocations: 5.219 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.7818, allocations: 14.91 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.7819, allocations: 320.1 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.782, allocations: 21.23 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.7821, allocations: 12.2 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.7822, allocations: 38.56 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7822, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001715/0.7824, allocations: 69.94 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7824, allocations: 7.156 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7824, allocations: 0 / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7824, allocations: 0 / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.7825, allocations: 5.375 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.7826, allocations: 0 / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.7826, allocations: 7.766 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.7826, allocations: 5.562 kB / 0.9531 GB, free: 6.059 MB / 0.7169 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 5.918e-05/0.7827, allocations: 115 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.7827, allocations: 1.469 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.7827, allocations: 12.58 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.7827, allocations: 256 / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7827, allocations: 0 / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.7828, allocations: 5.469 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.7829, allocations: 159.2 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7829, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.7829, allocations: 12.36 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.783, allocations: 1.5 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.783, allocations: 0 / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.783, allocations: 0 / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.783, allocations: 1.438 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.7832, allocations: 163.5 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.7832, allocations: 82.52 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.7832, allocations: 5.781 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.7833, allocations: 6.766 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.7834, allocations: 1.344 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.7834, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.7834, allocations: 83.67 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7834, allocations: 0 / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002254/0.7836, allocations: 7.906 kB / 0.9537 GB, free: 5.371 MB / 0.7169 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.000426/0.7841, allocations: 0.6964 MB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.7843, allocations: 31.31 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7843, allocations: 8.031 kB / 0.9544 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.7844, allocations: 17.31 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.7847, allocations: 6.562 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.786, allocations: 1.224 MB / 0.9557 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.7861, allocations: 0.6831 MB / 0.9563 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.7862, allocations: 1.25 kB / 0.9563 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.7862, allocations: 12.72 kB / 0.9563 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7862, allocations: 0 / 0.9563 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.8052, allocations: 1.265 MB / 0.9576 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/8.258, allocations: 14.97 kB / 0.9576 GB, free: 2.012 MB / 0.7169 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