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.01001/0.01001, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.002506/0.002506, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.789/2.789, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3337, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002315/0.336, allocations: 0.6464 MB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3374, allocations: 0.7966 MB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.3376, allocations: 0 / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3377, allocations: 15.92 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.3378, allocations: 4 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.3379, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.338, allocations: 27.86 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3382, allocations: 11.98 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.3383, allocations: 4 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.3383, allocations: 15.92 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.3384, allocations: 7.984 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.3384, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.3384, allocations: 12 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.3385, allocations: 11.92 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3386, allocations: 32.11 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.3386, allocations: 3.938 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3387, allocations: 3.938 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3387, allocations: 0 / 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.0005312/0.3392, allocations: 343.5 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3393, allocations: 8.031 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3393, allocations: 34.75 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3393, allocations: 8.891 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3395, allocations: 172.3 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3396, allocations: 4.375 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3396, allocations: 4.375 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.3398, allocations: 50.23 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3398, allocations: 3.938 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3399, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3399, allocations: 4 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3401, allocations: 47.89 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3405, allocations: 272.9 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3406, allocations: 26.56 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.3407, allocations: 24.91 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3407, allocations: 7.938 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3408, allocations: 34.55 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3408, allocations: 3.938 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003658/0.3412, allocations: 69.66 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3412, allocations: 51.41 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3413, allocations: 110 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3414, allocations: 25.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.3414, allocations: 88.09 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3414, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3415, allocations: 17.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3416, allocations: 314.8 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.3417, allocations: 15.98 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.3418, allocations: 20.17 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.342, allocations: 40.81 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.342, allocations: 7.938 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001874/0.3422, allocations: 57.67 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3422, allocations: 4 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3422, allocations: 4.094 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3422, allocations: 3.984 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.3423, allocations: 8 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3423, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3424, allocations: 7.984 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3424, 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 9.407e-05/0.3425, allocations: 109.8 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3425, allocations: 11.89 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.3426, allocations: 11.12 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3426, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3426, allocations: 3.984 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3426, allocations: 3.984 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3428, allocations: 165.6 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3428, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.3429, allocations: 7.984 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3429, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3429, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3429, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3429, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3432, allocations: 163.5 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.3432, allocations: 77.11 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3433, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.3433, allocations: 11.98 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3434, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3434, allocations: 4.031 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.3435, allocations: 83.22 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3435, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002256/0.3437, allocations: 11.88 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.0007013/0.3444, allocations: 0.6967 MB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3447, allocations: 31.97 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3447, allocations: 0 / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.3448, allocations: 19.92 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.0003874/0.3452, allocations: 7.984 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.001463/0.3466, allocations: 1.227 MB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3469, allocations: 0.6768 MB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.347, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.347, allocations: 11.44 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of SimCode: time 3.71e-07/0.347, allocations: 0 / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.3648, allocations: 1.305 MB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8, allocations: 4.375 kB / 1.174 GB, free: 14.89 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