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.001565/0.001565, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.0015/0.0015, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.397/1.397, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.182/3.182, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002211/0.002211, allocations: 64.02 kB / 1.172 GB, free: 17.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3471, allocations: 180.2 MB / 1.348 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006352/0.3534, allocations: 4.435 MB / 1.352 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.3564, allocations: 1.92 MB / 1.354 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.3566, allocations: 15.88 kB / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.3582, allocations: 0.6109 MB / 1.355 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.3587, allocations: 270.6 kB / 1.355 GB, free: 2.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.3594, allocations: 246.5 kB / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.3601, allocations: 0.6112 MB / 1.356 GB, free: 1.988 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.3607, allocations: 371.1 kB / 1.356 GB, free: 1.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.361, allocations: 263.1 kB / 1.356 GB, free: 1.363 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.3615, allocations: 275 kB / 1.357 GB, free: 1.094 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.3615, allocations: 36 kB / 1.357 GB, free: 1.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.362, allocations: 263.4 kB / 1.357 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3621, allocations: 151.5 kB / 1.357 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3623, allocations: 226.9 kB / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.3631, allocations: 0.6033 MB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3631, allocations: 3.938 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3631, allocations: 0 / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3631, allocations: 0 / 1.358 GB, free: 15.82 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.00124/0.3643, allocations: 0.7401 MB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3644, allocations: 11.98 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.435e-05/0.3644, allocations: 74.72 kB / 1.359 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.3654, allocations: 156.5 kB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.3659, allocations: 334.7 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3659, allocations: 29.38 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.366, allocations: 32.38 kB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.3668, allocations: 0.5392 MB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3668, allocations: 7.984 kB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.3668, allocations: 12 kB / 1.36 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.3669, allocations: 32.64 kB / 1.36 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.3675, allocations: 390.3 kB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.3701, allocations: 2.392 MB / 1.362 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.3706, allocations: 251.6 kB / 1.363 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3708, allocations: 105.1 kB / 1.363 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3708, allocations: 3.953 kB / 1.363 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3709, allocations: 34.56 kB / 1.363 GB, free: 10.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.3709, allocations: 0 / 1.363 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.00229/0.3731, allocations: 1.134 MB / 1.364 GB, free: 9.109 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3732, allocations: 55.39 kB / 1.364 GB, free: 9.043 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.3735, allocations: 300.5 kB / 1.364 GB, free: 8.742 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3735, allocations: 29.7 kB / 1.364 GB, free: 8.707 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3737, allocations: 236.1 kB / 1.364 GB, free: 8.469 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.3738, allocations: 83.27 kB / 1.365 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3739, allocations: 61.98 kB / 1.365 GB, free: 8.316 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.374, allocations: 342.8 kB / 1.365 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3742, allocations: 104.6 kB / 1.365 GB, free: 7.871 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3745, allocations: 187.7 kB / 1.365 GB, free: 7.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.3749, allocations: 319.5 kB / 1.365 GB, free: 7.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3749, allocations: 0 / 1.365 GB, free: 7.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007699/0.3757, allocations: 442 kB / 1.366 GB, free: 6.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3757, allocations: 8 kB / 1.366 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3757, allocations: 8 kB / 1.366 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.3761, allocations: 102.6 kB / 1.366 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.3764, allocations: 67.89 kB / 1.366 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.38, allocations: 4.387 MB / 1.37 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.3802, allocations: 8 kB / 1.37 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3802, allocations: 8 kB / 1.37 GB, free: 1.836 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.0002145/0.3804, allocations: 189.7 kB / 1.371 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.3805, allocations: 43.73 kB / 1.371 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.986e-05/0.3806, allocations: 34.31 kB / 1.371 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3806, allocations: 4 kB / 1.371 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3806, allocations: 0 / 1.371 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3806, allocations: 4 kB / 1.371 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.381, allocations: 397.4 kB / 1.371 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.381, allocations: 7.938 kB / 1.371 GB, free: 1.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.3812, allocations: 31.98 kB / 1.371 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.3815, allocations: 94.52 kB / 1.371 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3816, allocations: 8 kB / 1.371 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.385, allocations: 4.383 MB / 1.375 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.385, allocations: 4.094 kB / 1.375 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008526/0.3858, allocations: 0.5582 MB / 1.376 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.386, allocations: 128.9 kB / 1.376 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.386, allocations: 4 kB / 1.376 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3862, allocations: 16 kB / 1.376 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.3863, allocations: 23.91 kB / 1.376 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3863, allocations: 4 kB / 1.376 GB, free: 11.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002266/0.3865, allocations: 219 kB / 1.376 GB, free: 11.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3865, allocations: 0 / 1.376 GB, free: 11.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004671/0.387, allocations: 96 kB / 1.376 GB, free: 11.08 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.001162/0.3881, allocations: 1.093 MB / 1.378 GB, free: 9.957 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008988/0.389, allocations: 0.5895 MB / 1.378 GB, free: 9.328 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.389, allocations: 3.938 kB / 1.378 GB, free: 9.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.3896, allocations: 472.6 kB / 1.379 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.39, allocations: 70.31 kB / 1.379 GB, free: 8.758 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.3944, allocations: 3.369 MB / 1.382 GB, free: 5.215 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.3949, allocations: 0.8311 MB / 1.383 GB, free: 4.355 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.3951, allocations: 62.92 kB / 1.383 GB, free: 4.297 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3952, allocations: 111.4 kB / 1.383 GB, free: 4.188 MB / 1.076 GB Notification: Performance of SimCode: time 7.91e-07/0.3952, allocations: 3.938 kB / 1.383 GB, free: 4.184 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.4371, allocations: 7.835 MB / 1.391 GB, free: 12.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.53, allocations: 10.42 kB / 1.391 GB, free: 12.5 MB / 1.092 GB " [Timeout remaining time 289] (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: 17.210285835899413]