Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001739/0.001739, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002217/0.002217, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.789 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.39/3.39, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.Resistance,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_Resistance",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.002096/0.002096, allocations: 67.72 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.382, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005226/0.3872, allocations: 3.061 MB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.3897, allocations: 1.313 MB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.3899, allocations: 8 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.391, allocations: 333 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.3914, allocations: 151.2 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.3918, allocations: 143.6 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.3922, allocations: 306.9 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.3926, allocations: 180.5 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.3927, allocations: 127.6 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.3931, allocations: 135.5 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.3931, allocations: 20 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.3934, allocations: 151.6 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.3935, allocations: 83.73 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3936, allocations: 95.58 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.3941, allocations: 334.8 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3941, allocations: 4 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3941, allocations: 0 / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3941, allocations: 0 / 1.37 GB, free: 7.699 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008743/0.395, allocations: 453.5 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.395, allocations: 11.97 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.3951, allocations: 54.73 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/0.3957, allocations: 84.72 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.396, allocations: 190.2 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.396, allocations: 8.75 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3961, allocations: 24.34 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.3966, allocations: 384.4 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3966, allocations: 0 / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.3966, allocations: 4 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.3967, allocations: 20.38 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.397, allocations: 200.9 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3985, allocations: 1.027 MB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.3987, allocations: 94.59 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.3988, allocations: 32.84 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.3988, allocations: 0 / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3988, allocations: 34.56 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3988, allocations: 0 / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004769/0.3993, allocations: 150.3 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.3993, allocations: 51.41 kB / 1.372 GB, free: 4.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3996, allocations: 203.8 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3996, allocations: 25.7 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3997, allocations: 167.9 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3998, allocations: 31.92 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.3998, allocations: 37.66 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4, allocations: 338.7 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.4, allocations: 31.98 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4002, allocations: 101.9 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.4003, allocations: 144.5 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4004, allocations: 64 / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003472/0.4007, allocations: 194.2 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4007, allocations: 7.984 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4007, allocations: 4 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.4009, allocations: 33.06 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.401, allocations: 27.94 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.4024, allocations: 1.314 MB / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.4025, allocations: 15.89 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4025, allocations: 8 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.4027, allocations: 153.8 kB / 1.375 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.4027, allocations: 15.91 kB / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.4028, allocations: 21.39 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4028, allocations: 0 / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4028, allocations: 0 / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4028, allocations: 0 / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.4034, allocations: 414.3 kB / 1.376 GB, free: 1.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.4034, allocations: 0 / 1.376 GB, free: 1.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.4034, allocations: 4 kB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.09e-05/0.4035, allocations: 20.84 kB / 1.376 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4035, allocations: 8 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.4047, allocations: 1.307 MB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4047, allocations: 96 / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.405, allocations: 220.1 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.405, allocations: 19.89 kB / 1.377 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4051, allocations: 4 kB / 1.377 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4052, allocations: 4.156 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.4052, allocations: 11.98 kB / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.4052, allocations: 7.984 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001581/0.4054, allocations: 147.2 kB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4054, allocations: 0 / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003421/0.4057, allocations: 47.89 kB / 1.377 GB, free: 15.22 MB / 1.076 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000624/0.4063, allocations: 0.7483 MB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.4067, allocations: 202.4 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4067, allocations: 0 / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4069, allocations: 150.6 kB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4072, allocations: 39.38 kB / 1.378 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.4101, allocations: 2.055 MB / 1.38 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4103, allocations: 143.9 kB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.4104, allocations: 17.48 kB / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4105, allocations: 51.41 kB / 1.381 GB, free: 11.62 MB / 1.076 GB Notification: Performance of SimCode: time 8.11e-07/0.4105, allocations: 7.938 kB / 1.381 GB, free: 11.61 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.4493, allocations: 4.367 MB / 1.385 GB, free: 7.422 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.17, allocations: 10.69 kB / 1.385 GB, free: 7.414 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_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_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.430770465172827]