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.01217/0.01217, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.003386/0.003386, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.602/1.602, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.08 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4016, allocations: 159.9 MB / 1.226 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002632/0.4043, allocations: 0.6485 MB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.4055, allocations: 0.7845 MB / 1.227 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.4056, allocations: 4 kB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.4057, allocations: 7.938 kB / 1.227 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.457e-05/0.4058, allocations: 3.938 kB / 1.227 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.4059, allocations: 3.984 kB / 1.227 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.406, allocations: 23.98 kB / 1.227 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4061, allocations: 11.98 kB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.4062, allocations: 15.86 kB / 1.227 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.4063, allocations: 4 kB / 1.227 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.4063, allocations: 7.938 kB / 1.227 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.4063, allocations: 7.938 kB / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.4064, allocations: 11.98 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.4064, allocations: 11.94 kB / 1.227 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.4065, allocations: 23.89 kB / 1.227 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4066, allocations: 4 kB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4066, allocations: 0 / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.4066, allocations: 0 / 1.227 GB, free: 7.645 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.0004998/0.4071, allocations: 347.3 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4071, allocations: 12.03 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.4072, allocations: 4.938 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4073, allocations: 172.4 kB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.4074, allocations: 384 / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4074, allocations: 4.375 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.4076, allocations: 54.23 kB / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4076, allocations: 192 / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4076, allocations: 11.88 kB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4076, allocations: 0 / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.4078, allocations: 43.95 kB / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.4083, allocations: 280.7 kB / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.4084, allocations: 34.5 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.4085, allocations: 24.89 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4085, allocations: 4 kB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4085, allocations: 30.56 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.4085, allocations: 0 / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003448/0.4089, allocations: 77.64 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.4089, allocations: 51.41 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.409, allocations: 106 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.4091, allocations: 25.7 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.4091, allocations: 88.08 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.4091, allocations: 0 / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.4092, allocations: 21.66 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4093, allocations: 314.8 kB / 1.229 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.4094, allocations: 11.98 kB / 1.229 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.4095, allocations: 23.97 kB / 1.229 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.4096, allocations: 32.83 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4096, allocations: 0 / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000182/0.4098, allocations: 65.61 kB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4098, allocations: 4 kB / 1.229 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4098, allocations: 4.031 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4099, allocations: 8 kB / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.4099, allocations: 4 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.41, allocations: 7.922 kB / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.41, allocations: 8 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.41, allocations: 0 / 1.229 GB, free: 5.578 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.016e-05/0.4101, allocations: 110.3 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.4102, allocations: 7.984 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.4102, allocations: 7.125 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4102, allocations: 0 / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4102, allocations: 0 / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4102, allocations: 0 / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.4104, allocations: 165.6 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4104, allocations: 0 / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.4104, allocations: 7.984 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4104, allocations: 3.938 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.4105, allocations: 3.984 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4105, allocations: 0 / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4105, allocations: 4.25 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.4107, allocations: 159.5 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.4108, allocations: 77.11 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.4108, allocations: 4 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.4109, allocations: 11.92 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4109, allocations: 0 / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.4109, allocations: 8.031 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.411, allocations: 87.27 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.411, allocations: 0 / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002132/0.4112, allocations: 7.953 kB / 1.23 GB, free: 4.832 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.000138/0.4114, allocations: 95.25 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.4116, allocations: 31.97 kB / 1.23 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4116, allocations: 4.062 kB / 1.23 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.4117, allocations: 15.97 kB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.412, allocations: 16.97 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.4123, allocations: 117.3 kB / 1.23 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4127, allocations: 0.6807 MB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.4127, allocations: 0 / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.4127, allocations: 11.5 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4127, allocations: 4 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of Templates: time 0.002656/0.4154, allocations: 428.2 kB / 1.231 GB, free: 3.391 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