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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005321/0.005321, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001448/0.001448, allocations: 206.5 kB / 16.68 MB, free: 5.973 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001867/0.3013, allocations: 0.6581 MB / 1.242 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.3023, allocations: 0.7884 MB / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.3024, allocations: 0 / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.593e-05/0.3025, allocations: 3.938 kB / 1.243 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.3025, allocations: 0 / 1.243 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.3027, allocations: 11.98 kB / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.3027, allocations: 27.92 kB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.3028, allocations: 4 kB / 1.243 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.3029, allocations: 15.92 kB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.303, allocations: 4 kB / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.303, allocations: 4 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.303, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.3031, allocations: 11.92 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.3031, allocations: 15.92 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.3032, allocations: 31.89 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3032, allocations: 3.938 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3032, allocations: 4 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3032, allocations: 0 / 1.243 GB, free: 8.242 MB / 0.9981 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.0004663/0.3037, allocations: 339.4 kB / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3038, allocations: 12.03 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3038, allocations: 38.73 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.3038, allocations: 4.891 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.304, allocations: 164.4 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.304, allocations: 8.375 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.304, allocations: 384 / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3042, allocations: 62.22 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3043, allocations: 3.938 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3043, allocations: 0 / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3043, allocations: 3.984 kB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3045, allocations: 35.91 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.3049, allocations: 280.8 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.305, allocations: 42.48 kB / 1.244 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.3051, allocations: 20.84 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3051, allocations: 3.938 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3052, allocations: 38.56 kB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.3052, allocations: 0 / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003363/0.3055, allocations: 77.64 kB / 1.244 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3056, allocations: 51.41 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.3056, allocations: 105.8 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3057, allocations: 25.7 kB / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.3057, allocations: 92.22 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.3057, allocations: 0 / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3058, allocations: 9.719 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3059, allocations: 318.8 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.306, allocations: 19.97 kB / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.3061, allocations: 19.92 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3062, allocations: 32.89 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3062, allocations: 0 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001891/0.3064, allocations: 61.66 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3065, allocations: 8 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3065, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3065, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.3066, allocations: 12.02 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.3066, allocations: 0 / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.3066, allocations: 4 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3066, allocations: 0 / 1.245 GB, free: 6.148 MB / 0.9981 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.441e-05/0.3067, allocations: 121.8 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.3068, allocations: 7.891 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.3068, allocations: 3.125 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3068, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3068, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3068, allocations: 8 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.307, allocations: 161.6 kB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.307, allocations: 0 / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.307, allocations: 4 kB / 1.246 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.307, allocations: 4 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3071, allocations: 11.92 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3071, allocations: 0 / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3071, allocations: 0 / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.3073, allocations: 155.5 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3074, allocations: 81.09 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3074, allocations: 4 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.3075, allocations: 256 / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3075, allocations: 7.984 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-06/0.3075, allocations: 7.938 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.3076, allocations: 87.22 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3076, allocations: 4.031 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002111/0.3078, allocations: 4 kB / 1.246 GB, free: 5.395 MB / 0.9981 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.0005445/0.3083, allocations: 0.6934 MB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3086, allocations: 31.98 kB / 1.247 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3086, allocations: 4 kB / 1.247 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.3087, allocations: 19.92 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.309, allocations: 5.562 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3103, allocations: 1.226 MB / 1.248 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3106, allocations: 0.6768 MB / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.3107, allocations: 7.984 kB / 1.248 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.3107, allocations: 11.44 kB / 1.248 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.3107, allocations: 0 / 1.248 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/1.503, allocations: 1.299 MB / 1.25 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/10.28, allocations: 15.92 kB / 1.25 GB, free: 1.41 MB / 0.9981 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=400 --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