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.005058/0.005058, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.001479/0.001479, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.317/2.317, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 63.89 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.641, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00158/0.6427, allocations: 0.6504 MB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.6435, allocations: 0.7923 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.6435, allocations: 4 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.969e-05/0.6436, allocations: 3.938 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 1.436e-05/0.6436, allocations: 0 / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.389e-05/0.6437, allocations: 4 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.6438, allocations: 31.92 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.339e-05/0.6439, allocations: 7.984 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.6439, allocations: 11.94 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.644, allocations: 7.984 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.644, allocations: 4 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.644, allocations: 8 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.644, allocations: 11.92 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.6441, allocations: 11.94 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.543e-05/0.6442, allocations: 27.88 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6442, allocations: 4 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6442, allocations: 0 / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6442, allocations: 3.938 kB / 1.168 GB, free: 2.18 MB / 0.8887 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.0004081/0.6446, allocations: 338.1 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.6446, allocations: 12.62 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.6447, allocations: 38.75 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.6447, allocations: 8.891 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.6448, allocations: 165.4 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.6449, allocations: 4.375 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.6449, allocations: 384 / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.645, allocations: 60.67 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.6451, allocations: 3.938 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.6451, allocations: 0 / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6451, allocations: 4 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.6452, allocations: 43.89 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.6456, allocations: 280.8 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.6457, allocations: 34.56 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.6458, allocations: 20.91 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.6458, allocations: 0 / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6459, allocations: 38.48 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.6459, allocations: 3.938 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0003062/0.6462, allocations: 73.66 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.6462, allocations: 55.53 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.6463, allocations: 105.8 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6463, allocations: 25.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.6464, allocations: 92.03 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.6464, allocations: 3.984 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.6464, allocations: 13.72 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6466, allocations: 314.8 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.6466, allocations: 15.98 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.6467, allocations: 23.92 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6469, allocations: 36.81 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6469, allocations: 0 / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001745/0.647, allocations: 53.67 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6471, allocations: 18.42 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.6471, allocations: 0 / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.6471, allocations: 0 / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.6472, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6472, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.6472, allocations: 11.98 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.6472, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 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 8.93e-05/0.6473, allocations: 113.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.6474, allocations: 7.953 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.6474, allocations: 7.109 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6474, allocations: 7.922 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6474, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.6474, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.6476, allocations: 161.6 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6476, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.6476, allocations: 7.984 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6476, allocations: 4 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.6476, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-06/0.6477, allocations: 256 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6477, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.6479, allocations: 155.5 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.6479, allocations: 85.05 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.648, allocations: 4 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.648, allocations: 7.984 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.6481, allocations: 4.031 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.6481, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.6481, allocations: 83.28 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.723e-06/0.6481, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000207/0.6483, allocations: 7.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 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.0005183/0.6489, allocations: 0.7007 MB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.6491, allocations: 31.97 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6491, allocations: 3.938 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.6491, allocations: 15.92 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.6494, allocations: 12.14 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6507, allocations: 1.218 MB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.651, allocations: 0.6807 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.651, allocations: 0 / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.651, allocations: 11.44 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.651, allocations: 4.031 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9837/1.635, allocations: 1.308 MB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.877/11.51, allocations: 8.406 kB / 1.174 GB, free: 11.36 MB / 0.9044 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=400 --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