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.00144/0.00144, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001743/0.001743, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.399/2.399, allocations: 390.3 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.14 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.273, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002042/0.275, allocations: 0.7052 MB / 0.9505 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.276, allocations: 0.8021 MB / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.2761, allocations: 0 / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.2762, allocations: 0 / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.2763, allocations: 3.938 kB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.2764, allocations: 11.98 kB / 0.9513 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.2765, allocations: 23.92 kB / 0.9513 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2766, allocations: 8 kB / 0.9513 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.2767, allocations: 7.938 kB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.2767, allocations: 19.97 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2768, allocations: 0 / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.2768, allocations: 7.938 kB / 0.9513 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.2768, allocations: 11.92 kB / 0.9513 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.2769, allocations: 11.94 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.153e-05/0.277, allocations: 19.95 kB / 0.9514 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.277, allocations: 0 / 0.9514 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.394e-06/0.277, allocations: 4 kB / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.277, allocations: 0 / 0.9514 GB, free: 7.578 MB / 0.7325 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.0004656/0.2775, allocations: 343.7 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2775, allocations: 12.03 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.2776, allocations: 4.844 kB / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2777, allocations: 168.4 kB / 0.9519 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2777, allocations: 4.375 kB / 0.9519 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2778, allocations: 8.359 kB / 0.9519 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.278, allocations: 54.17 kB / 0.9519 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.278, allocations: 192 / 0.9519 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.278, allocations: 7.938 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.278, allocations: 4 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.2782, allocations: 35.97 kB / 0.952 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.2786, allocations: 272.8 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2787, allocations: 38.5 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.2788, allocations: 24.91 kB / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2788, allocations: 0 / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2789, allocations: 30.56 kB / 0.9523 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.2789, allocations: 0 / 0.9523 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003251/0.2792, allocations: 81.67 kB / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2792, allocations: 51.41 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.2793, allocations: 109.8 kB / 0.9526 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2794, allocations: 25.7 kB / 0.9526 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.2794, allocations: 88.08 kB / 0.9527 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.2794, allocations: 3.906 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.2795, allocations: 13.72 kB / 0.9527 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2796, allocations: 318.8 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.2797, allocations: 20.02 kB / 0.953 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.2797, allocations: 16.23 kB / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.2799, allocations: 36.81 kB / 0.9531 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2799, allocations: 4 kB / 0.9531 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001863/0.2801, allocations: 65.67 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2801, allocations: 5.719 kB / 0.9531 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2801, allocations: 0 / 0.9531 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2801, allocations: 4 kB / 0.9531 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.2802, allocations: 7.984 kB / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2802, allocations: 0 / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.2803, allocations: 11.92 kB / 0.9532 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2803, allocations: 0 / 0.9532 GB, free: 5.52 MB / 0.7325 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.792e-05/0.2804, allocations: 117.8 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.2804, allocations: 0 / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.2804, allocations: 7.125 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2804, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2804, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2804, allocations: 3.984 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2806, allocations: 161.6 kB / 0.9534 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2806, allocations: 0 / 0.9534 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.2807, allocations: 7.984 kB / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2807, allocations: 0 / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2807, allocations: 4 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2807, allocations: 0 / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2807, allocations: 4 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.281, allocations: 163.3 kB / 0.9536 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.281, allocations: 77.11 kB / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.281, allocations: 0 / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.2811, allocations: 12.02 kB / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.2811, allocations: 7.938 kB / 0.9537 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2811, allocations: 4 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.2812, allocations: 79.28 kB / 0.9538 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2812, allocations: 0 / 0.9538 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002118/0.2814, allocations: 4 kB / 0.9538 GB, free: 4.785 MB / 0.7325 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.0001169/0.2815, allocations: 101.6 kB / 0.9539 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.2817, allocations: 35.97 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2818, allocations: 0 / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.2818, allocations: 19.92 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2822, allocations: 11.92 kB / 0.954 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.2825, allocations: 143.4 kB / 0.9541 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2827, allocations: 0.6844 MB / 0.9548 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.2828, allocations: 7.438 kB / 0.9548 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2828, allocations: 0 / 0.9548 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of Templates: time 0.002765/0.2855, allocations: 0.5781 MB / 0.9553 GB, free: 3.148 MB / 0.7325 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