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.00143/0.00143, allocations: 109 kB / 16.41 MB, free: 6.438 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.001591/0.001591, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.17 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.338/2.338, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 71.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7735, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001888/0.7755, allocations: 0.6492 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.7764, allocations: 0.7884 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.7765, allocations: 1.219 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.7766, allocations: 4.594 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.85e-05/0.7766, allocations: 8.672 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.7768, allocations: 9.344 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.7768, allocations: 24.7 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.777, allocations: 7.984 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.777, allocations: 9.422 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.7771, allocations: 14.41 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.7771, allocations: 2.25 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.7771, allocations: 2.125 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.7772, allocations: 9.641 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.7772, allocations: 11.5 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.146e-05/0.7773, allocations: 29 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7773, allocations: 0 / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7774, allocations: 1.906 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7774, allocations: 0 / 1.09 GB, free: 4.453 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.000399/0.7778, allocations: 354.6 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7778, allocations: 9.688 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.7778, allocations: 2.062 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.778, allocations: 166.6 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.778, allocations: 1.531 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.778, allocations: 2.281 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.7782, allocations: 61.3 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7782, allocations: 192 / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7782, allocations: 8.969 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.7782, allocations: 1 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.7784, allocations: 34.34 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.7788, allocations: 279.3 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.7789, allocations: 41.42 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.779, allocations: 18.25 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.779, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.779, allocations: 32.11 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.779, allocations: 1.094 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003312/0.7794, allocations: 84.84 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.7794, allocations: 51.41 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.7795, allocations: 106.3 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.7795, allocations: 27.14 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.7795, allocations: 88.91 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.7795, allocations: 0.5625 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.7796, allocations: 19.81 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.7796, allocations: 317.4 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.7797, allocations: 18 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.7798, allocations: 16.53 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.7799, allocations: 37.77 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7799, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001725/0.7801, allocations: 63.92 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7801, allocations: 5.453 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7802, allocations: 3.938 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.7802, allocations: 5.109 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.7803, allocations: 12.02 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.7803, allocations: 3.984 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.7803, allocations: 5.969 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.7803, allocations: 1.156 kB / 1.092 GB, free: 2.719 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 5.072e-05/0.7804, allocations: 117.4 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.7804, allocations: 5.125 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.7804, allocations: 4.578 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7804, allocations: 0.8906 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.7804, allocations: 1.156 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7805, allocations: 0 / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.7806, allocations: 166.4 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.7806, allocations: 0 / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.7806, allocations: 7.484 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7806, allocations: 1.188 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.7807, allocations: 4 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.7807, allocations: 0 / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7807, allocations: 1.891 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.7809, allocations: 160 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.7809, allocations: 77.81 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.7809, allocations: 1.938 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.781, allocations: 9.078 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.781, allocations: 2.531 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.781, allocations: 5.25 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.7811, allocations: 83.83 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7811, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000221/0.7813, allocations: 8.469 kB / 1.093 GB, free: 2.062 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.0001041/0.7814, allocations: 98.42 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.7816, allocations: 37.09 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7816, allocations: 0 / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.7817, allocations: 22.94 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.782, allocations: 13.19 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.7823, allocations: 133.9 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.7824, allocations: 0.6827 MB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.7824, allocations: 8.906 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.7824, allocations: 3.938 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of Templates: time 0.002328/0.7848, allocations: 0.5696 MB / 1.094 GB, free: 1.066 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