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.001533/0.001533, allocations: 106 kB / 15.99 MB, free: 6.352 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.001454/0.001454, allocations: 193 kB / 16.91 MB, free: 6.184 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.45 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2813, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001823/0.2832, allocations: 0.7092 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.284, allocations: 0.7923 MB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.2841, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.8e-05/0.2842, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.229e-05/0.2842, allocations: 7.938 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.944e-05/0.2843, allocations: 8 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.2844, allocations: 19.98 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.2845, allocations: 7.984 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.2845, allocations: 19.86 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.2846, allocations: 15.92 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2846, allocations: 0 / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.2846, allocations: 4 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.2846, allocations: 4 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2847, allocations: 15.92 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.5e-05/0.2847, allocations: 23.97 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2847, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2848, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2848, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 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.000432/0.2852, allocations: 339.7 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2852, allocations: 12.03 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.2853, allocations: 0.9375 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2854, allocations: 168.4 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2854, allocations: 12.38 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2855, allocations: 4.375 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2856, allocations: 50.23 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2856, allocations: 4.125 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2857, allocations: 11.88 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2857, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.2858, allocations: 39.95 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.2862, allocations: 276.8 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2864, allocations: 38.5 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.2864, allocations: 24.88 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.2865, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2865, allocations: 38.56 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.2865, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0003096/0.2868, allocations: 73.64 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2869, allocations: 51.41 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.287, allocations: 101.9 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.287, allocations: 29.83 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.287, allocations: 91.97 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2871, allocations: 8 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.2871, allocations: 13.66 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2872, allocations: 318.7 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.2873, allocations: 15.98 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.2874, allocations: 19.97 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2875, allocations: 36.89 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2875, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001675/0.2877, allocations: 61.66 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2877, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2877, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2877, allocations: 4 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.2878, allocations: 12.02 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2878, allocations: 3.938 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.2879, allocations: 4 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2879, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8419 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.682e-05/0.288, allocations: 117.8 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.288, allocations: 3.906 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.288, allocations: 7.125 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.288, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2881, allocations: 4 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2881, allocations: 3.938 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2882, allocations: 165.6 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2882, allocations: 256 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.2883, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2883, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2883, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2883, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2883, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2886, allocations: 159.5 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.2886, allocations: 77.11 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2886, allocations: 3.984 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.2887, allocations: 7.938 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.2887, allocations: 8 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2887, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.2888, allocations: 87.3 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.2888, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001991/0.289, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 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.0001139/0.2891, allocations: 95.25 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2893, allocations: 35.95 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2893, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.2894, allocations: 20.05 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2897, allocations: 11.92 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.29, allocations: 151.1 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.2903, allocations: 0.6768 MB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.2903, allocations: 7.438 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.2903, allocations: 4.062 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of Templates: time 0.001857/0.2922, allocations: 0.5791 MB / 1.07 GB, free: 9.074 MB / 0.8419 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/jenkins1/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