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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 192 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 66.52 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3232, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002209/0.3254, allocations: 0.6423 MB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.3263, allocations: 0.8002 MB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3264, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.501e-05/0.3265, allocations: 7.938 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.922e-05/0.3266, allocations: 3.938 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.3267, allocations: 7.984 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.3267, allocations: 19.94 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3269, allocations: 11.98 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.3269, allocations: 7.938 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.327, allocations: 15.97 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.327, allocations: 7.938 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.327, allocations: 4 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.3271, allocations: 7.984 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.3271, allocations: 11.94 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.678e-05/0.3272, allocations: 27.89 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3272, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3272, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3272, allocations: 0 / 1.054 GB, free: 6.684 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.0004112/0.3276, allocations: 347.7 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3277, allocations: 12.62 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.3277, allocations: 30.75 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.3277, allocations: 4.938 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3279, allocations: 168.4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3279, allocations: 4.375 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.3279, allocations: 384 / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3281, allocations: 58.17 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3281, allocations: 3.938 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3281, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3281, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3283, allocations: 43.95 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.3287, allocations: 280.8 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3288, allocations: 34.5 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.3289, allocations: 24.89 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3289, allocations: 7.875 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.329, allocations: 34.56 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.329, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003334/0.3293, allocations: 73.75 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3294, allocations: 59.33 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.3294, allocations: 97.86 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3294, allocations: 25.7 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.3295, allocations: 99.97 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.3295, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.3296, allocations: 9.719 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.3297, allocations: 318.8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3297, allocations: 20.02 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.3298, allocations: 11.98 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.33, allocations: 36.81 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.33, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001823/0.3302, allocations: 73.66 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3302, allocations: 4 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3302, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3302, allocations: 3.984 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.3303, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3303, allocations: 3.984 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3304, allocations: 7.984 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3304, allocations: 0 / 1.056 GB, free: 4.582 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 7.041e-05/0.3304, allocations: 119.3 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3305, allocations: 3.906 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.3305, allocations: 15.11 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3305, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3305, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3305, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3307, allocations: 161.6 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3307, allocations: 4 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.3307, allocations: 7.984 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3307, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3308, allocations: 4 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3308, allocations: 0 / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3308, allocations: 3.938 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.331, allocations: 159.4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.331, allocations: 81.11 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3311, allocations: 256 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.3311, allocations: 20.02 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3312, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3312, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.3312, allocations: 87.2 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3312, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002099/0.3314, allocations: 4 kB / 1.057 GB, free: 3.836 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.0004753/0.3319, allocations: 0.6929 MB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3321, allocations: 35.91 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3321, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.3322, allocations: 20.06 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3325, allocations: 8 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.334, allocations: 1.222 MB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.3342, allocations: 0.6807 MB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.3343, allocations: 4 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.3343, allocations: 11.44 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3343, allocations: 0 / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.3501, allocations: 1.263 MB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.428, allocations: 10.98 kB / 1.061 GB, free: 15.88 MB / 0.8262 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