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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.00143/0.00143, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001605/0.001605, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.1 MB / 0.7112 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 69.39 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2853, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001983/0.2873, allocations: 0.6403 MB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.2882, allocations: 0.7962 MB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.2883, allocations: 0 / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.113e-05/0.2884, allocations: 7.922 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.928e-05/0.2884, allocations: 7.938 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.96e-05/0.2885, allocations: 4 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.2886, allocations: 23.98 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.2887, allocations: 7.984 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.2887, allocations: 19.86 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.2888, allocations: 11.92 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2888, allocations: 4 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.2888, allocations: 4 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.2889, allocations: 0 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.2889, allocations: 15.92 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.503e-05/0.289, allocations: 27.91 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.289, allocations: 4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.289, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.289, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 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.0003844/0.2894, allocations: 343.4 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2894, allocations: 12.92 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.2895, allocations: 4.844 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2896, allocations: 172.4 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2896, allocations: 12.3 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2896, allocations: 4.375 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2898, allocations: 58.17 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.2898, allocations: 192 / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2898, allocations: 11.92 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2898, allocations: 3.938 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.29, allocations: 31.97 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.2903, allocations: 284.8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.2904, allocations: 30.5 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.2905, allocations: 24.91 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2905, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2906, allocations: 34.56 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.2906, allocations: 0 / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002964/0.2909, allocations: 73.64 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2909, allocations: 51.41 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.291, allocations: 109.8 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.291, allocations: 25.7 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2911, allocations: 96.11 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.2911, allocations: 0 / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.2911, allocations: 13.72 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2913, allocations: 318.8 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.2913, allocations: 15.98 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.2914, allocations: 15.98 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2915, allocations: 36.89 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2915, allocations: 0 / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001644/0.2917, allocations: 61.66 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2917, allocations: 4 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2917, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2918, allocations: 7.938 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.2918, allocations: 7.984 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2919, allocations: 4.031 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.2919, allocations: 7.984 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.2919, allocations: 0 / 1.022 GB, free: 6.152 MB / 0.795 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.29e-05/0.292, allocations: 117.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.292, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.292, allocations: 3.125 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.292, allocations: 0 / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2921, allocations: 0 / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2921, allocations: 4 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.2922, allocations: 169.5 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2922, allocations: 3.938 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.2923, allocations: 7.984 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2923, allocations: 3.938 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2923, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2923, allocations: 4 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2923, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2925, allocations: 167.6 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.2925, allocations: 77.11 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.2926, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.2926, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.2927, allocations: 3.984 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.2927, allocations: 4 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.2927, allocations: 79.28 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2927, allocations: 4.031 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002155/0.2929, allocations: 8 kB / 1.023 GB, free: 5.406 MB / 0.795 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 9.491e-05/0.293, allocations: 97.64 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.2932, allocations: 35.95 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2932, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.2933, allocations: 16.05 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2936, allocations: 7.938 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.2938, allocations: 117.5 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2941, allocations: 0.6807 MB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.2941, allocations: 3.984 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.2941, allocations: 7.438 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2941, allocations: 0 / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of Templates: time 0.002136/0.2963, allocations: 434.2 kB / 1.024 GB, free: 3.969 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/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