Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.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.001847/0.001847, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002513/0.002513, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] 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 3.288/3.288, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 65.3 kB / 1.177 GB, free: 17.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3387, allocations: 180.2 MB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006672/0.3454, allocations: 4.541 MB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.3488, allocations: 1.959 MB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.349, allocations: 11.94 kB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3508, allocations: 0.6211 MB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.3514, allocations: 270.6 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.352, allocations: 255.5 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.3528, allocations: 0.6072 MB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.3533, allocations: 351.5 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.3537, allocations: 259 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.3542, allocations: 282.9 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.3542, allocations: 36 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.3547, allocations: 263.4 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3549, allocations: 151.5 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.3551, allocations: 222.9 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.3558, allocations: 0.6071 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3558, allocations: 4 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3558, allocations: 0 / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3559, allocations: 4 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001285/0.3571, allocations: 0.6686 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3572, allocations: 8.031 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.3573, allocations: 78.7 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3584, allocations: 144.5 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.3589, allocations: 280.9 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.3589, allocations: 25.38 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.359, allocations: 32.38 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008138/0.3598, allocations: 0.5316 MB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3598, allocations: 3.938 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.3598, allocations: 16 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/0.3599, allocations: 32.64 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.3605, allocations: 390.3 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.3633, allocations: 2.364 MB / 1.367 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.3638, allocations: 242.5 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.364, allocations: 97.16 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.364, allocations: 11.89 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.364, allocations: 38.48 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.364, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002143/0.3662, allocations: 0.9032 MB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3662, allocations: 55.41 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.3666, allocations: 308.4 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3666, allocations: 29.7 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3668, allocations: 236.2 kB / 1.369 GB, free: 7.309 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.3668, allocations: 75.33 kB / 1.369 GB, free: 7.234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3669, allocations: 65.98 kB / 1.369 GB, free: 7.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3671, allocations: 338.8 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3673, allocations: 100.6 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3675, allocations: 199.7 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.3679, allocations: 312.7 kB / 1.37 GB, free: 6.148 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.368, allocations: 0 / 1.37 GB, free: 6.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007723/0.3687, allocations: 437.9 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3687, allocations: 9.562 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3688, allocations: 7.984 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.3691, allocations: 98.84 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.3694, allocations: 67.78 kB / 1.371 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.3732, allocations: 4.096 MB / 1.375 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3735, allocations: 8 kB / 1.375 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3735, allocations: 20.16 kB / 1.375 GB, free: 1.051 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.3738, allocations: 181.7 kB / 1.375 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.3739, allocations: 35.75 kB / 1.375 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.374, allocations: 38.41 kB / 1.375 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.374, allocations: 4 kB / 1.375 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.374, allocations: 0 / 1.375 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.374, allocations: 3.938 kB / 1.375 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.3745, allocations: 372.5 kB / 1.376 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3745, allocations: 3.938 kB / 1.376 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3747, allocations: 31.98 kB / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.375, allocations: 102.4 kB / 1.376 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3751, allocations: 0 / 1.376 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.3786, allocations: 4.089 MB / 1.38 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3786, allocations: 3.938 kB / 1.38 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.3794, allocations: 0.559 MB / 1.38 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3796, allocations: 43.83 kB / 1.38 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3796, allocations: 4 kB / 1.38 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.3798, allocations: 15.98 kB / 1.38 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3799, allocations: 11.97 kB / 1.38 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3799, allocations: 11.94 kB / 1.38 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002238/0.3801, allocations: 215 kB / 1.381 GB, free: 10.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3801, allocations: 0 / 1.381 GB, free: 10.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004786/0.3806, allocations: 104.1 kB / 1.381 GB, free: 10.81 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.3818, allocations: 1.086 MB / 1.382 GB, free: 9.691 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008979/0.3827, allocations: 0.5968 MB / 1.382 GB, free: 9.059 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3827, allocations: 4.25 kB / 1.382 GB, free: 9.055 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.3832, allocations: 459.9 kB / 1.383 GB, free: 8.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.3837, allocations: 88.45 kB / 1.383 GB, free: 8.488 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.3882, allocations: 3.38 MB / 1.386 GB, free: 4.934 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.3887, allocations: 0.8311 MB / 1.387 GB, free: 4.074 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.3889, allocations: 62.92 kB / 1.387 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.3891, allocations: 107.4 kB / 1.387 GB, free: 3.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.3891, allocations: 0 / 1.387 GB, free: 3.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.4321, allocations: 8.1 MB / 1.395 GB, free: 11.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.39, allocations: 10.62 kB / 1.395 GB, free: 11.98 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen_ss.I in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_ss.I from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable sen_dyn.I in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_dyn.I from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable RC_ss.Vc in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable RC_ss.Vc from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.346950228999958]