Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001455/0.001455, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.493/1.493, 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.1.0-maint.11.x/package.mo): time 2.992/2.992, allocations: 469.8 MB / 0.742 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 65.41 kB / 0.9081 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 159.2 MB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001846/0.3098, allocations: 0.7054 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.3107, allocations: 0.7941 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.3108, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.3109, allocations: 4 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.77e-05/0.3109, allocations: 3.938 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.528e-05/0.311, allocations: 15.98 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.3111, allocations: 27.92 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.3112, allocations: 4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.3112, allocations: 15.92 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.3112, allocations: 7.922 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3113, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.3113, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.3113, allocations: 11.98 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.3114, allocations: 11.94 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.804e-05/0.3114, allocations: 27.89 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3114, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3115, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3115, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 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.0004408/0.3119, allocations: 345.2 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.312, allocations: 8.031 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.312, allocations: 0.9375 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3121, allocations: 172.4 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3122, allocations: 4.375 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3122, allocations: 4.375 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3124, allocations: 54.17 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3124, allocations: 4.188 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3124, allocations: 3.938 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3124, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3125, allocations: 39.95 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3129, allocations: 276.8 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3131, allocations: 38.5 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3132, allocations: 20.89 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.3132, allocations: 7.938 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3133, allocations: 34.56 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3133, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003096/0.3136, allocations: 73.64 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3136, allocations: 59.28 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.3137, allocations: 110 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3137, allocations: 25.7 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.3138, allocations: 91.97 kB / 1.066 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3138, allocations: 8 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.3138, allocations: 9.719 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.314, allocations: 314.8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.43e-05/0.3141, allocations: 15.98 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.3141, allocations: 19.98 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3143, allocations: 36.81 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3143, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001741/0.3144, allocations: 65.59 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3145, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3145, allocations: 4.094 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3145, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.3146, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3146, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.3146, allocations: 7.984 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3146, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 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.769e-05/0.3147, allocations: 113.8 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3148, allocations: 7.891 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.3148, allocations: 15.11 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3148, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3148, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3148, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.315, allocations: 161.6 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.315, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.315, allocations: 7.984 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.315, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.315, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3151, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3151, allocations: 3.938 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3153, allocations: 163.4 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.3153, allocations: 77.11 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.3154, allocations: 0 / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.3154, allocations: 7.984 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3155, allocations: 8.25 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3155, allocations: 4.031 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.3155, allocations: 87.27 kB / 1.067 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3155, allocations: 0 / 1.067 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002009/0.3157, allocations: 4 kB / 1.067 GB, free: 10.12 MB / 0.8262 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.0001159/0.3159, allocations: 95.25 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.3161, allocations: 35.91 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3161, allocations: 4.062 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.3161, allocations: 23.91 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3164, allocations: 8.922 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.3167, allocations: 114.5 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.317, allocations: 0.6807 MB / 1.068 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.3171, allocations: 4.062 kB / 1.068 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.3171, allocations: 11.44 kB / 1.068 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3171, allocations: 0 / 1.068 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.002407/0.3195, allocations: 365.5 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches