Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_10_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.001478/0.001478, 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.001689/0.001689, allocations: 196.6 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5976, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002017/0.5996, allocations: 0.6598 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.6006, allocations: 0.7923 MB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.6006, allocations: 0 / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.425e-05/0.6007, allocations: 3.938 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.6008, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.6009, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.601, allocations: 23.92 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.6011, allocations: 11.98 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.6011, allocations: 15.94 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.6012, allocations: 11.98 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.6012, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.6012, allocations: 3.938 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.6013, allocations: 7.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.6013, allocations: 11.92 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.395e-05/0.6014, allocations: 27.91 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6014, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6014, allocations: 3.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6014, allocations: 3.984 kB / 1.019 GB, free: 0.9258 MB / 0.7637 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.0004161/0.6018, allocations: 345.7 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6019, allocations: 8.031 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.6019, allocations: 34.75 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.602, allocations: 4.844 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.6021, allocations: 176.3 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.6021, allocations: 384 / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.6021, allocations: 4.375 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6023, allocations: 54.23 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6023, allocations: 7.938 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.6024, allocations: 0 / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6024, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.6025, allocations: 35.91 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.6029, allocations: 276.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.603, allocations: 30.56 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.6031, allocations: 28.84 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.6031, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.6031, allocations: 38.44 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.6032, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003108/0.6035, allocations: 77.64 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.6035, allocations: 55.41 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.6036, allocations: 101.8 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.6036, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.6037, allocations: 84.14 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.6037, allocations: 3.906 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.6037, allocations: 21.84 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6038, allocations: 322.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.6039, allocations: 11.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.604, allocations: 15.92 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.6041, allocations: 40.81 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6041, allocations: 4.062 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001821/0.6043, allocations: 57.67 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.6044, allocations: 5.875 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.6044, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.6044, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.6045, allocations: 12.23 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.6045, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.6045, allocations: 11.98 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.6045, allocations: 4.031 kB / 1.021 GB, free: 14.83 MB / 0.7794 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 6.718e-05/0.6046, allocations: 115.3 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6047, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.6047, allocations: 7.062 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6047, allocations: 3.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6047, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6047, allocations: 3.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.6048, allocations: 161.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6048, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.6049, allocations: 11.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6049, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.6049, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6049, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6049, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.6052, allocations: 171.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.6052, allocations: 81.14 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.6052, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.6053, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.6053, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.6053, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.6054, allocations: 83.28 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6054, allocations: 7.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002076/0.6056, allocations: 7.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 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.0004454/0.606, allocations: 0.689 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.6062, allocations: 31.97 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6062, allocations: 4.094 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.6063, allocations: 23.92 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.6066, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.6078, allocations: 1.226 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.608, allocations: 0.6807 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.608, allocations: 3.984 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.608, allocations: 7.438 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6081, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.6246, allocations: 1.269 MB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/9.038, allocations: 13.69 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches