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.009495/0.009495, allocations: 101.2 kB / 15.73 MB, free: 5.996 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.001978/0.001978, allocations: 185.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.428/2.428, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.469/4.469, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4812, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002529/0.4838, allocations: 0.6425 MB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.4853, allocations: 0.8004 MB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.4854, allocations: 4 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.4856, allocations: 0 / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.4856, allocations: 3.938 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.4858, allocations: 4 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.4859, allocations: 35.86 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.486, allocations: 3.984 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.4861, allocations: 8 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.4862, allocations: 19.91 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.4862, allocations: 4 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.4862, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.4863, allocations: 7.984 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.4864, allocations: 11.94 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.4865, allocations: 32.11 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.4865, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4865, allocations: 7.938 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4866, allocations: 3.938 kB / 1.168 GB, free: 5.715 MB / 0.92 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.000689/0.4873, allocations: 339.5 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.4873, allocations: 12.03 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.4874, allocations: 34.69 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.4874, allocations: 4.891 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.4877, allocations: 176.3 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4877, allocations: 4.375 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.4877, allocations: 8.375 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.488, allocations: 58.23 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.488, allocations: 3.938 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4881, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4881, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.4883, allocations: 35.95 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.4889, allocations: 280.8 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4891, allocations: 30.56 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.4892, allocations: 20.91 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4892, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.4893, allocations: 38.48 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.4893, allocations: 4 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0005659/0.4899, allocations: 69.66 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.4899, allocations: 51.41 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4901, allocations: 105.8 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4901, allocations: 25.7 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.4902, allocations: 92.08 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.4902, allocations: 8.125 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4903, allocations: 13.7 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4905, allocations: 318.8 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4906, allocations: 11.98 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4907, allocations: 15.98 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.4909, allocations: 44.81 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.491, allocations: 3.938 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002625/0.4912, allocations: 57.67 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4913, allocations: 4 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4913, allocations: 7.984 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4913, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4914, allocations: 4 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4914, allocations: 4.031 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.4915, allocations: 7.984 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4915, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 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 0.0001141/0.4916, allocations: 117.8 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.4917, allocations: 7.938 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.4917, allocations: 3.125 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4917, allocations: 7.922 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4918, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4918, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.492, allocations: 165.6 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4921, allocations: 4.188 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.4921, allocations: 7.984 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4922, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.4922, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4922, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4922, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.4925, allocations: 163.5 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.4926, allocations: 77.11 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4926, allocations: 0 / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4927, allocations: 7.984 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.4928, allocations: 4 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4928, allocations: 0 / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.4929, allocations: 83.28 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4929, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003465/0.4932, allocations: 11.97 kB / 1.17 GB, free: 2.871 MB / 0.92 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.0008062/0.4941, allocations: 0.6967 MB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4944, allocations: 32 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4944, allocations: 4 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.4945, allocations: 15.98 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.495, allocations: 10.33 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.497, allocations: 1.225 MB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.4975, allocations: 0.6768 MB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.995e-05/0.4976, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.4976, allocations: 11.44 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/0.4976, allocations: 0 / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.5347, allocations: 1.296 MB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.89, allocations: 9.938 kB / 1.174 GB, free: 14.9 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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