Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001552/0.001552, allocations: 109.2 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.002252/0.002252, allocations: 218.7 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.8 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_11_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.002067/0.002067, allocations: 64.5 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005775/0.3753, allocations: 3.188 MB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3779, allocations: 1.418 MB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.378, allocations: 7.938 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.3791, allocations: 366.5 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.3795, allocations: 143.3 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3799, allocations: 139.6 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.3803, allocations: 303 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.3807, allocations: 188.1 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3808, allocations: 131.5 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.3812, allocations: 143.5 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3812, allocations: 20 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.3815, allocations: 171.6 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.3816, allocations: 83.73 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3817, allocations: 111.5 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.3822, allocations: 331.5 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3822, allocations: 7.938 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3822, allocations: 4 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3822, allocations: 3.938 kB / 1.29 GB, free: 4.934 MB / 0.9825 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.0009402/0.3831, allocations: 457.4 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.3832, allocations: 8.031 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.603e-05/0.3833, allocations: 54.72 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006684/0.3839, allocations: 84.72 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3843, allocations: 187.6 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3843, allocations: 12.75 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3844, allocations: 20.38 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.3849, allocations: 295.3 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.3849, allocations: 8 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.385, allocations: 7.984 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.385, allocations: 24.36 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.3853, allocations: 189 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.3871, allocations: 1.418 MB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3873, allocations: 106.5 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.3874, allocations: 28.84 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3874, allocations: 4 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3874, allocations: 30.56 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3875, allocations: 0 / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004748/0.3879, allocations: 154.5 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.388, allocations: 59.41 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3882, allocations: 191.6 kB / 1.293 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3882, allocations: 29.7 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3883, allocations: 171.9 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3884, allocations: 23.84 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.3884, allocations: 37.58 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3886, allocations: 330.8 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.3886, allocations: 39.98 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3888, allocations: 92.56 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.389, allocations: 148.4 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.389, allocations: 4 kB / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003071/0.3893, allocations: 194.1 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3893, allocations: 4 kB / 1.294 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3893, allocations: 4 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.3895, allocations: 24.84 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3896, allocations: 36.2 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3908, allocations: 1.319 MB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.391, allocations: 11.89 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.391, allocations: 11.98 kB / 1.296 GB, free: 14.67 MB / 0.9981 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.0001567/0.3911, allocations: 149.8 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3912, allocations: 15.91 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.3912, allocations: 17.41 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3912, allocations: 0 / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3912, allocations: 8 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3912, allocations: 0 / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.3918, allocations: 418.3 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3918, allocations: 0 / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.3918, allocations: 16 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/0.3919, allocations: 20.84 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3919, allocations: 0 / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.393, allocations: 1.323 MB / 1.297 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.393, allocations: 0 / 1.297 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.3932, allocations: 216.2 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3933, allocations: 19.89 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3933, allocations: 7.938 kB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3934, allocations: 4 kB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.3934, allocations: 8.047 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3934, allocations: 4 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001485/0.3936, allocations: 148.7 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3936, allocations: 0 / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003257/0.3939, allocations: 59.83 kB / 1.298 GB, free: 12.06 MB / 0.9981 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.0005765/0.3945, allocations: 0.7444 MB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.3949, allocations: 202.6 kB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3949, allocations: 192 / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.395, allocations: 150.6 kB / 1.299 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3954, allocations: 42.67 kB / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.3979, allocations: 2.046 MB / 1.301 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.3983, allocations: 0.7476 MB / 1.302 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.507e-05/0.3984, allocations: 21.86 kB / 1.302 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.3985, allocations: 55.42 kB / 1.302 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3985, allocations: 4 kB / 1.302 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.4356, allocations: 3.883 MB / 1.306 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.61, allocations: 16.95 kB / 1.306 GB, free: 4.09 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.666897178]