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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009999/0.0009998, allocations: 92.55 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.001358/0.001358, allocations: 178.5 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004717, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7578, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0008292/0.7587, allocations: 377 kB / 0.9561 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.7595, allocations: 0.7912 MB / 0.9569 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.7595, allocations: 1.219 kB / 0.9569 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.144e-05/0.7596, allocations: 3.938 kB / 0.9569 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.951e-05/0.7597, allocations: 5.172 kB / 0.9569 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.41e-05/0.7598, allocations: 5.156 kB / 0.9569 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.7599, allocations: 22.33 kB / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.76, allocations: 10.25 kB / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.76, allocations: 3.812 kB / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.7601, allocations: 15.23 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.7601, allocations: 1.156 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.7601, allocations: 1.094 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.7602, allocations: 6.547 kB / 0.9569 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.7602, allocations: 40.42 kB / 0.957 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.867e-05/0.7603, allocations: 20.16 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7603, allocations: 1.5 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7603, allocations: 0 / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7603, allocations: 7.938 kB / 0.957 GB, free: 6.734 MB / 0.7169 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.0004014/0.7607, allocations: 342.5 kB / 0.9573 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7608, allocations: 9.781 kB / 0.9573 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.7608, allocations: 2.812 kB / 0.9573 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.7609, allocations: 175.3 kB / 0.9575 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.761, allocations: 5.594 kB / 0.9575 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.761, allocations: 1.531 kB / 0.9575 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.7612, allocations: 62.11 kB / 0.9576 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7612, allocations: 4.172 kB / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.7612, allocations: 5 kB / 0.9576 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7612, allocations: 0 / 0.9576 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.7614, allocations: 54.86 kB / 0.9576 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.7618, allocations: 274.8 kB / 0.9579 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.7619, allocations: 40.62 kB / 0.9579 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.762, allocations: 26.53 kB / 0.958 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.762, allocations: 3.984 kB / 0.958 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.762, allocations: 35.91 kB / 0.958 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.762, allocations: 4 kB / 0.958 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003533/0.7624, allocations: 88.56 kB / 0.9581 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.7624, allocations: 59.52 kB / 0.9581 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.7625, allocations: 104.7 kB / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.7625, allocations: 29.64 kB / 0.9583 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.7626, allocations: 86.42 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.7626, allocations: 7.922 kB / 0.9584 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.7626, allocations: 10.84 kB / 0.9584 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.7627, allocations: 315.8 kB / 0.9587 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.7627, allocations: 20.8 kB / 0.9587 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.7628, allocations: 22.11 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.763, allocations: 56.12 kB / 0.9588 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.763, allocations: 0 / 0.9588 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001832/0.7632, allocations: 71.2 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7632, allocations: 5.469 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7632, allocations: 8.016 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7633, allocations: 1.375 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.7633, allocations: 6.375 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7634, allocations: 1.344 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.7634, allocations: 8.922 kB / 0.9589 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.7634, allocations: 1.375 kB / 0.9589 GB, free: 4.891 MB / 0.7169 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.999e-05/0.7635, allocations: 116 kB / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.7635, allocations: 1.25 kB / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.7635, allocations: 8.062 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7635, allocations: 3.984 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7635, allocations: 0.9375 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.7635, allocations: 0 / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.7637, allocations: 160.2 kB / 0.9591 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7637, allocations: 3.938 kB / 0.9591 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.7637, allocations: 12.17 kB / 0.9592 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7637, allocations: 0 / 0.9592 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7637, allocations: 4 kB / 0.9592 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7638, allocations: 0 / 0.9592 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7638, allocations: 1.312 kB / 0.9592 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.764, allocations: 170.1 kB / 0.9593 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.764, allocations: 82.27 kB / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.764, allocations: 0 / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.7641, allocations: 10.42 kB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.7641, allocations: 1.312 kB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.7642, allocations: 0 / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.7642, allocations: 88.02 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.92e-07/0.7642, allocations: 0 / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002088/0.7644, allocations: 15.72 kB / 0.9595 GB, free: 4.199 MB / 0.7169 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.000101/0.7645, allocations: 97.03 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.7647, allocations: 43.97 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7647, allocations: 4.062 kB / 0.9596 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.7648, allocations: 27.7 kB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.7651, allocations: 9.328 kB / 0.9597 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.7654, allocations: 142.9 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.7655, allocations: 0.6825 MB / 0.9605 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.7655, allocations: 8.562 kB / 0.9605 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7656, allocations: 0 / 0.9605 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.001705/0.7673, allocations: 0.5634 MB / 0.961 GB, free: 2.934 MB / 0.7169 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