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.001104/0.001104, allocations: 92.16 kB / 16.02 MB, free: 80 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.001448/0.001448, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.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.789/2.789, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.000371, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6866, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001158/0.6878, allocations: 381.1 kB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.6889, allocations: 0.7923 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.689, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.6891, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.6891, allocations: 3.938 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.6893, allocations: 7.984 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.6893, allocations: 16 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.6894, allocations: 11.92 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.6895, allocations: 11.92 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.6896, allocations: 11.98 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.6896, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.6896, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.6897, allocations: 7.938 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.6897, allocations: 41.62 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.588e-05/0.6898, allocations: 19.95 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6898, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6898, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6898, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 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.0006384/0.6905, allocations: 345.5 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6905, allocations: 12.03 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.6906, allocations: 8.844 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.6907, allocations: 168.3 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.6907, allocations: 4.375 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.6908, allocations: 384 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.691, allocations: 66.16 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.691, allocations: 192 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.691, allocations: 11.92 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.691, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.6912, allocations: 43.97 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.6916, allocations: 280.9 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.6918, allocations: 38.5 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.6919, allocations: 28.91 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.6919, allocations: 3.938 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.6919, allocations: 34.56 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.6919, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003565/0.6923, allocations: 93.55 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.6923, allocations: 59.34 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.6924, allocations: 105.8 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.6925, allocations: 25.7 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.6925, allocations: 88.14 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.6925, allocations: 3.906 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.6925, allocations: 13.84 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.6927, allocations: 314.8 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.6927, allocations: 23.97 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.6928, allocations: 19.98 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.693, allocations: 48.89 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.693, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001987/0.6932, allocations: 73.66 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6932, allocations: 8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6933, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6933, allocations: 256 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.6934, allocations: 15.92 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.6934, allocations: 4 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.6934, allocations: 8.031 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6934, allocations: 3.984 kB / 1.027 GB, free: 12.42 MB / 0.7794 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.251e-05/0.6935, allocations: 114.3 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.6935, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.6936, allocations: 11.12 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6936, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6936, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.6936, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.6937, allocations: 165.6 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6937, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.6938, allocations: 8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6938, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6938, allocations: 3.984 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6938, allocations: 4 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6938, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.6941, allocations: 167.4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.6942, allocations: 89 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.6942, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.6943, allocations: 8 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.6943, allocations: 12.02 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.6943, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.6944, allocations: 79.28 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6944, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002162/0.6946, allocations: 7.938 kB / 1.027 GB, free: 11.66 MB / 0.7794 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.0001111/0.6947, allocations: 95.25 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.6949, allocations: 51.89 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.695, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.6951, allocations: 23.98 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.6954, allocations: 7.938 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.6957, allocations: 146.5 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.696, allocations: 0.6809 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.696, allocations: 7.438 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 6.71e-07/0.696, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.001873/0.6979, allocations: 0.5646 MB / 1.029 GB, free: 10.03 MB / 0.7794 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 -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