Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_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.001656/0.001656, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002162/0.002162, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.938/2.938, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 65.12 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3784, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002696/0.3812, allocations: 0.7131 MB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3823, allocations: 0.8001 MB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.3824, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3825, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.327e-05/0.3825, allocations: 3.938 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.3827, allocations: 7.984 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.373e-05/0.3828, allocations: 23.92 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3829, allocations: 15.98 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.383, allocations: 11.94 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.383, allocations: 3.984 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.383, allocations: 7.938 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.3831, allocations: 4 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.3831, allocations: 7.984 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3832, allocations: 11.94 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.583e-05/0.3833, allocations: 23.89 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3833, allocations: 8 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3833, allocations: 4 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3833, allocations: 3.938 kB / 1.054 GB, free: 6.969 MB / 0.8106 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.0004809/0.3838, allocations: 343.7 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3839, allocations: 8.625 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.3839, allocations: 30.75 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.3839, allocations: 4.938 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3841, allocations: 172.4 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3841, allocations: 4.375 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3841, allocations: 4.312 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3843, allocations: 58.23 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3843, allocations: 3.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3844, allocations: 4 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3844, allocations: 0 / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3845, allocations: 35.95 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.385, allocations: 280.8 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.3851, allocations: 30.56 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.3852, allocations: 24.89 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3852, allocations: 3.938 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3852, allocations: 34.56 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.3852, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003245/0.3856, allocations: 77.58 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3856, allocations: 55.41 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.3857, allocations: 97.86 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3857, allocations: 25.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.3858, allocations: 104.1 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3858, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3858, allocations: 9.719 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3859, allocations: 318.8 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.386, allocations: 15.98 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.3861, allocations: 16.22 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3862, allocations: 36.89 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3863, allocations: 4 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001722/0.3864, allocations: 65.59 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3865, allocations: 8 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3865, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3865, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.3866, allocations: 4 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3866, allocations: 8.016 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.3866, allocations: 4 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3866, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 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.432e-05/0.3867, allocations: 115.3 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3868, allocations: 11.89 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.673e-05/0.3868, allocations: 3.125 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3868, allocations: 7.938 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3868, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3868, allocations: 4 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.387, allocations: 157.6 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.387, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.3871, allocations: 11.98 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3871, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3871, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3871, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3871, allocations: 7.922 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3873, allocations: 163.4 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3874, allocations: 81.11 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3874, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.3875, allocations: 7.984 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.3875, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3875, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.3875, allocations: 83.27 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3876, allocations: 4.031 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002071/0.3878, allocations: 4 kB / 1.056 GB, free: 4.137 MB / 0.8106 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.0005127/0.3883, allocations: 0.6928 MB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3885, allocations: 36 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3885, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.3886, allocations: 19.97 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3889, allocations: 4 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3902, allocations: 1.234 MB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3904, allocations: 0.6768 MB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.3905, allocations: 4 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.3905, allocations: 11.44 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3905, allocations: 0 / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.403, allocations: 1.147 MB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.4033, allocations: 224.7 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.547, allocations: 3.938 kB / 1.06 GB, free: 92 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches