Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01052/0.01051, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.002168/0.002169, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 140.4 MB / 1.088 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002532/1.183, allocations: 0.6433 MB / 1.089 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001259/1.184, allocations: 0.7927 MB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/1.184, allocations: 0 / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/1.184, allocations: 5.875 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/1.184, allocations: 3.938 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/1.184, allocations: 9.016 kB / 1.089 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/1.184, allocations: 28.55 kB / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/1.184, allocations: 4.844 kB / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/1.185, allocations: 9.969 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/1.185, allocations: 18.59 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/1.185, allocations: 2.219 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/1.185, allocations: 2 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/1.185, allocations: 8.781 kB / 1.089 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/1.185, allocations: 11.73 kB / 1.089 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/1.185, allocations: 28.41 kB / 1.089 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.185, allocations: 1.609 kB / 1.089 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.605e-06/1.185, allocations: 0 / 1.089 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.185, allocations: 0.7812 kB / 1.089 GB, free: 4.711 MB / 0.8575 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.000506/1.185, allocations: 347 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.186, allocations: 8.969 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/1.186, allocations: 2.75 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.186, allocations: 174.6 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/1.186, allocations: 6.125 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/1.186, allocations: 1.906 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/1.186, allocations: 56.28 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.186, allocations: 1.812 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.186, allocations: 8.875 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.186, allocations: 0 / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.186, allocations: 38.02 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/1.187, allocations: 283.3 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/1.187, allocations: 29.22 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/1.187, allocations: 27.31 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/1.187, allocations: 4 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/1.187, allocations: 36.02 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.187, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003742/1.187, allocations: 76.72 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/1.187, allocations: 52.02 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/1.187, allocations: 102.7 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.187, allocations: 30.45 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/1.188, allocations: 93.09 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.188, allocations: 0.5625 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/1.188, allocations: 12.64 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/1.188, allocations: 316.4 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/1.188, allocations: 17.22 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/1.188, allocations: 18.67 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/1.188, allocations: 35.42 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.188, allocations: 0.7969 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001847/1.188, allocations: 63.91 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.188, allocations: 5.781 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.188, allocations: 0 / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.188, allocations: 5.656 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/1.188, allocations: 10.92 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.188, allocations: 0.7969 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/1.188, allocations: 5.859 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/1.188, allocations: 1.094 kB / 1.091 GB, free: 2.984 MB / 0.8575 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.476e-05/1.189, allocations: 113.1 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/1.189, allocations: 5.641 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/1.189, allocations: 8.938 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.189, allocations: 4 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.189, allocations: 0.6562 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.189, allocations: 1.281 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/1.189, allocations: 165.5 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.189, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/1.189, allocations: 8.078 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.189, allocations: 0.5156 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/1.189, allocations: 5.188 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.189, allocations: 0.5625 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.189, allocations: 0 / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/1.189, allocations: 164.2 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/1.189, allocations: 78.7 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/1.189, allocations: 0.6094 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/1.189, allocations: 11.08 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/1.189, allocations: 1.688 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/1.189, allocations: 4.031 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.932e-05/1.189, allocations: 80.84 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.189, allocations: 3.938 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002023/1.19, allocations: 8.281 kB / 1.092 GB, free: 2.32 MB / 0.8575 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.0001222/1.19, allocations: 101.1 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000214/1.19, allocations: 37.36 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.19, allocations: 4.062 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/1.19, allocations: 19.58 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/1.19, allocations: 6.797 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/1.191, allocations: 110.7 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/1.191, allocations: 0.6782 MB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.144e-05/1.191, allocations: 3.672 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/1.191, allocations: 11.5 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/1.191, allocations: 1.375 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of Templates: time 0.003315/1.194, allocations: 426.3 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches