Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001114/0.001114, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.00115/0.00115, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.523/1.523, 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 11.0.0-master/package.mo): time 2.592/2.592, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.06 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002076/0.3547, allocations: 0.6469 MB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3558, allocations: 0.7986 MB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.3559, allocations: 8 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.356, allocations: 3.938 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.307e-05/0.3561, allocations: 3.938 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.3562, allocations: 4 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.3562, allocations: 27.92 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.3563, allocations: 3.984 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.3564, allocations: 11.94 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.3565, allocations: 15.91 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3565, allocations: 4 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.3565, allocations: 4 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.3566, allocations: 11.98 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.3566, allocations: 11.94 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.578e-05/0.3567, allocations: 27.89 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3567, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3567, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.3567, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 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.000462/0.3572, allocations: 348.5 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3572, allocations: 12.03 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.3573, allocations: 12.88 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3575, allocations: 168.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3575, allocations: 4.375 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3575, allocations: 4.375 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3577, allocations: 54.17 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3577, allocations: 192 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3577, allocations: 3.938 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3578, allocations: 4 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3579, allocations: 39.97 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3583, allocations: 272.8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3584, allocations: 34.5 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.3585, allocations: 20.91 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3586, allocations: 8 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3586, allocations: 30.56 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3586, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003091/0.3589, allocations: 73.64 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.3589, allocations: 55.34 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.359, allocations: 110 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3591, allocations: 25.7 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.3591, allocations: 95.97 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.3591, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3592, allocations: 13.72 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3593, allocations: 318.8 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.3594, allocations: 15.98 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.3594, allocations: 15.98 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3596, allocations: 40.81 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3596, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001752/0.3598, allocations: 61.66 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3598, allocations: 7.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3598, allocations: 4.031 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3598, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.3599, allocations: 11.98 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3599, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.36, allocations: 7.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.36, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 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 8.649e-05/0.3601, allocations: 109.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3601, allocations: 7.906 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.3602, allocations: 7.125 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3602, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3602, allocations: 256 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3602, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.3604, allocations: 169.6 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3604, allocations: 3.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.3604, allocations: 7.984 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3605, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3605, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3605, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3605, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.3607, allocations: 167.4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.3608, allocations: 77.11 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3608, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.3609, allocations: 7.984 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.3609, allocations: 4 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3609, allocations: 4.031 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.361, allocations: 79.28 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.361, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000211/0.3612, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 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.0001345/0.3613, allocations: 103.2 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3615, allocations: 31.97 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3615, allocations: 4.062 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.3616, allocations: 15.98 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3619, allocations: 11.88 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.3623, allocations: 117.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3626, allocations: 0.6768 MB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3626, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.3627, allocations: 15.44 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of SimCode: time 4.9e-07/0.3627, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.002464/0.3651, allocations: 413.5 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches