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.001115/0.001115, allocations: 105 kB / 16.41 MB, free: 6.465 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.00119/0.00119, allocations: 187 kB / 17.34 MB, free: 5.719 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.08 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8645, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001639/0.8662, allocations: 0.6398 MB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.8669, allocations: 0.7835 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.867, allocations: 5.125 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.715e-05/0.8671, allocations: 4.547 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.579e-05/0.8671, allocations: 5.062 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.12e-05/0.8672, allocations: 10 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.8673, allocations: 25.62 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.8674, allocations: 8.266 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.8674, allocations: 13.58 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.8675, allocations: 15.22 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.8675, allocations: 2.406 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.8675, allocations: 5.25 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.8675, allocations: 5.016 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.8676, allocations: 12.52 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.534e-05/0.8677, allocations: 29.16 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.8677, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8677, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.8677, allocations: 1.062 kB / 1.09 GB, free: 4.426 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.0003422/0.868, allocations: 348.6 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.8681, allocations: 9.719 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.8681, allocations: 7.781 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.8682, allocations: 178 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.8682, allocations: 1.469 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.8682, allocations: 1.375 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.8684, allocations: 58.16 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.8684, allocations: 192 / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.8684, allocations: 7.938 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8685, allocations: 1.25 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.8686, allocations: 38.3 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.869, allocations: 279.1 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.8691, allocations: 34.06 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.8692, allocations: 25.34 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.8692, allocations: 1.703 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.8692, allocations: 35.47 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.8692, allocations: 0 / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003256/0.8695, allocations: 73.02 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.8696, allocations: 55.86 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.8696, allocations: 107 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.8696, allocations: 25.7 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.8697, allocations: 93.39 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.8697, allocations: 1.922 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.8697, allocations: 10.84 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.8698, allocations: 317.1 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.8699, allocations: 17.39 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.8699, allocations: 17.7 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.8701, allocations: 36.45 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8701, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001832/0.8703, allocations: 60.66 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8703, allocations: 5.562 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.8703, allocations: 13.06 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.8704, allocations: 0 / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.8704, allocations: 7.156 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8705, allocations: 0.5625 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.8705, allocations: 6.125 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.8705, allocations: 1.484 kB / 1.092 GB, free: 2.699 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 4.658e-05/0.8706, allocations: 116.6 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.8706, allocations: 6.516 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.8706, allocations: 8.672 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8706, allocations: 0 / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8706, allocations: 0.6875 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.8706, allocations: 0 / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.8708, allocations: 162.5 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8708, allocations: 256 / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.8708, allocations: 11.16 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8708, allocations: 1.766 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.8708, allocations: 0 / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8709, allocations: 0.8125 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8709, allocations: 5 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.8711, allocations: 167.7 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.8711, allocations: 78.94 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.8711, allocations: 0.5156 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.8712, allocations: 6.531 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.8712, allocations: 6.766 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.8712, allocations: 0 / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.292e-05/0.8713, allocations: 80.95 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8713, allocations: 3.938 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002249/0.8715, allocations: 8.562 kB / 1.093 GB, free: 2.035 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 9.343e-05/0.8716, allocations: 101.7 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.8718, allocations: 36.78 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8718, allocations: 0 / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.8719, allocations: 15.36 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.8722, allocations: 10.73 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.8725, allocations: 139.2 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.8726, allocations: 0.6772 MB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.8727, allocations: 12.72 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.8727, allocations: 8.062 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of Templates: time 0.002027/0.8747, allocations: 0.5658 MB / 1.094 GB, free: 1.043 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/jenkins1/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