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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008664/0.0008664, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.822/1.822, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.938e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001228/0.001248, allocations: 0.6335 MB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.00194, allocations: 0.8159 MB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.001979, allocations: 0 / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.127e-05/0.00206, allocations: 3.938 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.784e-05/0.002078, allocations: 3.984 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 9.847e-05/0.002176, allocations: 11.94 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.002242, allocations: 27.91 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.002327, allocations: 11.98 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.002377, allocations: 19.92 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.00242, allocations: 7.984 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.002437, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-06/0.002442, allocations: 4 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.002488, allocations: 8 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.002512, allocations: 7.922 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.397e-05/0.002586, allocations: 31.94 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002588, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002589, allocations: 3.938 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002592, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 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.0003055/0.002898, allocations: 274.3 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.002935, allocations: 12.75 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.003059, allocations: 30.75 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.003076, allocations: 0.9375 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.003184, allocations: 117.7 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003193, allocations: 8.312 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.0032, allocations: 384 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003323, allocations: 58.23 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00333, allocations: 192 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003337, allocations: 8.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003343, allocations: 4.125 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.003423, allocations: 39.89 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.003706, allocations: 232.1 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.667e-05/0.003772, allocations: 34.5 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.003816, allocations: 16.91 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.003824, allocations: 4 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.003842, allocations: 38.5 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.003844, allocations: 0 / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002/0.004044, allocations: 81.59 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.004073, allocations: 51.41 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.004131, allocations: 101.8 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.004142, allocations: 29.7 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.004176, allocations: 84.27 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.004192, allocations: 7.891 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.004216, allocations: 17.72 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.004291, allocations: 314.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.00433, allocations: 11.98 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.004364, allocations: 15.98 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.004439, allocations: 52.75 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004441, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.932e-05/0.00453, allocations: 57.61 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004541, allocations: 4 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004545, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.004555, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.00461, allocations: 15.98 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.004615, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.00464, allocations: 12.02 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.004645, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 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 5.086e-05/0.004696, allocations: 109.8 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.004708, allocations: 3.938 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.004723, allocations: 7.094 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004725, allocations: 0 / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.004728, allocations: 0 / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.00473, allocations: 3.938 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.004831, allocations: 136.7 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.004833, allocations: 3.984 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.004854, allocations: 8.25 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004855, allocations: 0 / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.004862, allocations: 8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.004862, allocations: 0 / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.004863, allocations: 0 / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.004986, allocations: 155.5 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.004993, allocations: 7.953 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.005002, allocations: 0 / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.005039, allocations: 12.02 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.005066, allocations: 0 / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.005068, allocations: 0 / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.005096, allocations: 87.27 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005096, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001373/0.005233, allocations: 4 kB / 1.003 GB, free: 9.398 MB / 0.9636 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.0002918/0.005525, allocations: 0.6936 MB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.005638, allocations: 32 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005639, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.005679, allocations: 27.91 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.00589, allocations: 6.234 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.006866, allocations: 1.237 MB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.006907, allocations: 63.28 kB / 1.005 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.006933, allocations: 4 kB / 1.005 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.006965, allocations: 16.48 kB / 1.005 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.006965, allocations: 0 / 1.005 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.02462, allocations: 1.96 MB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.784, allocations: 6.438 kB / 1.007 GB, free: 5.367 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/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) [Timeout 300] "Error: Could not read variable reaRep.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.058856897056103]