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.001316/0.001316, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001381/0.001381, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.51/2.51, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6489, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00185/0.6508, allocations: 0.7148 MB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.6518, allocations: 0.7807 MB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.6518, allocations: 0 / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.6519, allocations: 11.92 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.097e-05/0.652, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.073e-05/0.6521, allocations: 4 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.6521, allocations: 31.91 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.6522, allocations: 4 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.6523, allocations: 15.92 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.6523, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.6523, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.6523, allocations: 7.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.6524, allocations: 11.98 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.6524, allocations: 11.94 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.291e-05/0.6525, allocations: 35.88 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6525, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6525, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6525, allocations: 0 / 1.019 GB, free: 1.051 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.0004319/0.653, allocations: 341.7 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.653, allocations: 12.03 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.653, allocations: 34.73 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.6531, allocations: 12.84 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.6532, allocations: 168.3 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.6533, allocations: 4.375 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.6533, allocations: 384 / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.6534, allocations: 58.23 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6535, allocations: 7.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.6535, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6535, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.6537, allocations: 43.89 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.6541, allocations: 272.9 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6542, allocations: 34.55 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.6543, allocations: 24.91 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.6543, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.6544, allocations: 38.44 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.6544, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003219/0.6547, allocations: 77.62 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6547, allocations: 59.53 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.6548, allocations: 101.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.6549, allocations: 25.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.6549, allocations: 88.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.6549, allocations: 3.906 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.655, allocations: 9.719 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6551, allocations: 314.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.6552, allocations: 23.97 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.6553, allocations: 15.98 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.6554, allocations: 36.77 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6554, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001761/0.6556, allocations: 61.66 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6556, allocations: 12.09 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6556, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6556, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.6557, allocations: 7.984 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6557, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.6558, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.6558, allocations: 0 / 1.02 GB, free: 14.95 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 9.217e-05/0.6559, allocations: 122.3 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.6559, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.656, allocations: 7.125 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.656, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.656, allocations: 4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.656, allocations: 3.938 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.6562, allocations: 161.6 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6562, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.6562, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6562, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.6562, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6563, allocations: 4.234 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6563, allocations: 8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.6565, allocations: 167.2 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.6565, allocations: 81.09 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.6566, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.6566, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.6567, allocations: 8.016 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.6567, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.6567, allocations: 83.28 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6567, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.657, allocations: 7.938 kB / 1.021 GB, free: 14.2 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.0004958/0.6575, allocations: 0.6928 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.6577, allocations: 35.95 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6577, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.6578, allocations: 19.92 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.658, allocations: 8.156 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.6593, allocations: 1.225 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.6595, allocations: 0.6768 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.6596, allocations: 8.031 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.6596, allocations: 15.42 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6596, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.6703, allocations: 1.143 MB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.6705, allocations: 218.8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.357, allocations: 0 / 1.025 GB, free: 10.16 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