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.001295/0.001295, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001495/0.001495, allocations: 211.2 kB / 22.24 MB, free: 4.859 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.801 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.382/3.382, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002093/0.002093, allocations: 68.2 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006906/0.3591, allocations: 4.283 MB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003276/0.3624, allocations: 1.819 MB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.3627, allocations: 11.94 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.3644, allocations: 0.6056 MB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.3651, allocations: 262.6 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.3657, allocations: 255.4 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007163/0.3665, allocations: 0.6112 MB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005911/0.367, allocations: 351.1 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.3673, allocations: 263.1 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.3678, allocations: 251 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.228e-05/0.3679, allocations: 40 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.3683, allocations: 231.4 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3684, allocations: 159.5 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3687, allocations: 183.2 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.3694, allocations: 0.611 MB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3694, allocations: 0 / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3694, allocations: 3.938 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.3694, allocations: 0 / 1.373 GB, free: 4.145 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.001272/0.3707, allocations: 0.6571 MB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3707, allocations: 12.02 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.133e-05/0.3708, allocations: 78.72 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.3718, allocations: 148.5 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.3723, allocations: 280.8 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3723, allocations: 25.38 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.3724, allocations: 36.34 kB / 1.374 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.3733, allocations: 0.686 MB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3733, allocations: 3.984 kB / 1.375 GB, free: 2.098 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.3734, allocations: 16 kB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.3734, allocations: 32.64 kB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.374, allocations: 390.3 kB / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.3766, allocations: 1.734 MB / 1.377 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.3771, allocations: 243.8 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.3773, allocations: 92.81 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3773, allocations: 0 / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3773, allocations: 38.56 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.163e-06/0.3773, allocations: 0 / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002176/0.3795, allocations: 0.9008 MB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3795, allocations: 59.39 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.3799, allocations: 308.4 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3799, allocations: 29.7 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3801, allocations: 240.1 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.3802, allocations: 83.27 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3803, allocations: 65.98 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3805, allocations: 338.8 kB / 1.379 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3806, allocations: 100.6 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.3809, allocations: 191.7 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.3813, allocations: 315.5 kB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3813, allocations: 4 kB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007972/0.3821, allocations: 437.9 kB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3822, allocations: 8 kB / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3822, allocations: 352 / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.3825, allocations: 106.4 kB / 1.38 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3828, allocations: 63.89 kB / 1.38 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.3864, allocations: 4.073 MB / 1.384 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.3867, allocations: 8.281 kB / 1.384 GB, free: 7.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.3867, allocations: 24 kB / 1.385 GB, free: 7.633 MB / 1.076 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.0002198/0.3869, allocations: 180.3 kB / 1.385 GB, free: 7.449 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.387, allocations: 39.69 kB / 1.385 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.3871, allocations: 42.41 kB / 1.385 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3871, allocations: 0 / 1.385 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3871, allocations: 7.938 kB / 1.385 GB, free: 7.359 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3871, allocations: 3.984 kB / 1.385 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.3875, allocations: 332.6 kB / 1.385 GB, free: 6.988 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3875, allocations: 7.938 kB / 1.385 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3877, allocations: 35.98 kB / 1.385 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.388, allocations: 94.42 kB / 1.385 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.388, allocations: 4 kB / 1.385 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.3915, allocations: 4.066 MB / 1.389 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3916, allocations: 3.938 kB / 1.389 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.3924, allocations: 0.5611 MB / 1.39 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3926, allocations: 43.83 kB / 1.39 GB, free: 1.797 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.3926, allocations: 4 kB / 1.39 GB, free: 1.793 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3928, allocations: 11.98 kB / 1.39 GB, free: 1.781 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3928, allocations: 20.06 kB / 1.39 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3929, allocations: 16 kB / 1.39 GB, free: 1.746 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002304/0.3931, allocations: 211 kB / 1.39 GB, free: 1.539 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3931, allocations: 0 / 1.39 GB, free: 1.539 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000461/0.3936, allocations: 96 kB / 1.39 GB, free: 1.445 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.001195/0.3948, allocations: 1.1 MB / 1.391 GB, free: 320 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008959/0.3956, allocations: 0.5897 MB / 1.392 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3956, allocations: 0 / 1.392 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.3962, allocations: 464.7 kB / 1.392 GB, free: 15.19 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.3966, allocations: 62.36 kB / 1.392 GB, free: 15.13 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.4011, allocations: 3.387 MB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.4013, allocations: 220.7 kB / 1.396 GB, free: 11.34 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000199/0.4015, allocations: 66.91 kB / 1.396 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4017, allocations: 111.4 kB / 1.396 GB, free: 11.17 MB / 1.092 GB Notification: Performance of SimCode: time 4.7e-07/0.4017, allocations: 0 / 1.396 GB, free: 11.17 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.45, allocations: 8.758 MB / 1.405 GB, free: 2.645 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.55, allocations: 13.61 kB / 1.405 GB, free: 2.633 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.465685441158712]