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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00793/0.00793, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.002058/0.002058, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7453 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 68.11 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4031, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002155/0.4053, allocations: 0.6549 MB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.4064, allocations: 0.7884 MB / 1.227 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.4065, allocations: 4 kB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.4066, allocations: 0 / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.089e-05/0.4067, allocations: 3.938 kB / 1.227 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.4068, allocations: 11.98 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.4069, allocations: 27.92 kB / 1.227 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.407, allocations: 4 kB / 1.227 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.4071, allocations: 11.92 kB / 1.227 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.4072, allocations: 7.984 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.4072, allocations: 7.938 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.4072, allocations: 0 / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.4073, allocations: 8 kB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.4073, allocations: 11.94 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.4074, allocations: 31.88 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4075, allocations: 4 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4075, allocations: 0 / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.4075, allocations: 4 kB / 1.227 GB, free: 7.617 MB / 0.9825 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.0005091/0.408, allocations: 347.3 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4081, allocations: 16.02 kB / 1.228 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.4081, allocations: 0.9375 kB / 1.228 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4083, allocations: 164.4 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4083, allocations: 4.375 kB / 1.228 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.4083, allocations: 8.375 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.4085, allocations: 50.23 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4085, allocations: 192 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4085, allocations: 3.938 kB / 1.228 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4086, allocations: 4 kB / 1.228 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.4087, allocations: 43.89 kB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.4092, allocations: 280.7 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4093, allocations: 34.55 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.4094, allocations: 20.91 kB / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.4094, allocations: 0 / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4094, allocations: 34.56 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 2.985e-06/0.4094, allocations: 4 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003987/0.4098, allocations: 77.58 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4099, allocations: 51.41 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.41, allocations: 113.8 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.41, allocations: 25.7 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.4101, allocations: 84.09 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.4101, allocations: 8.125 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.4102, allocations: 13.72 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4103, allocations: 314.8 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.4104, allocations: 19.97 kB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.4104, allocations: 11.98 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.4106, allocations: 44.83 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4106, allocations: 0 / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000191/0.4108, allocations: 65.61 kB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4108, allocations: 4 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4109, allocations: 0 / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4109, allocations: 0 / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.411, allocations: 11.98 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.411, allocations: 4.031 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.411, allocations: 4 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.4111, allocations: 0 / 1.229 GB, free: 5.559 MB / 0.9825 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 9.248e-05/0.4112, allocations: 115.2 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4112, allocations: 4 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.4112, allocations: 7.125 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4112, allocations: 0 / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4112, allocations: 0 / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4112, allocations: 0 / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.4114, allocations: 169.6 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4114, allocations: 0 / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.4115, allocations: 15.86 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.4115, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4115, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4115, allocations: 3.984 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4115, allocations: 0 / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4118, allocations: 159.5 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4119, allocations: 81.09 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.4119, allocations: 0 / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.412, allocations: 4 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.412, allocations: 7.984 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.412, allocations: 0 / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.4121, allocations: 83.53 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.4121, allocations: 4 kB / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002196/0.4123, allocations: 7.984 kB / 1.23 GB, free: 4.816 MB / 0.9825 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.0001511/0.4125, allocations: 99.25 kB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.4127, allocations: 39.89 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4127, allocations: 3.938 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.4128, allocations: 15.98 kB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.4132, allocations: 14.69 kB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.4135, allocations: 113.3 kB / 1.23 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.4139, allocations: 0.6807 MB / 1.231 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.414, allocations: 3.984 kB / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.414, allocations: 7.438 kB / 1.231 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.414, allocations: 0 / 1.231 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of Templates: time 0.003118/0.4171, allocations: 428.3 kB / 1.231 GB, free: 3.367 MB / 0.9825 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 -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/jenkins/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