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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 110.6 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 192.4 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.654/2.654, allocations: 476.7 MB / 0.7635 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 76.11 kB / 1.108 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.7745, allocations: 168.7 MB / 1.272 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005511/0.78, allocations: 3.18 MB / 1.275 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.7825, allocations: 1.387 MB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.7827, allocations: 4 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.7838, allocations: 342.7 kB / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.7842, allocations: 151.3 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.7847, allocations: 139.6 kB / 1.277 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.785, allocations: 306.9 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.7854, allocations: 162.2 kB / 1.278 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.7856, allocations: 127.6 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.7859, allocations: 143.5 kB / 1.278 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.786, allocations: 19.94 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.7863, allocations: 175.6 kB / 1.278 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.7864, allocations: 79.8 kB / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.7865, allocations: 111.5 kB / 1.279 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.787, allocations: 342.7 kB / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.787, allocations: 0 / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.787, allocations: 0 / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.787, allocations: 0 / 1.279 GB, free: 13.69 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.0009094/0.7879, allocations: 0.5221 MB / 1.279 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.788, allocations: 12.03 kB / 1.279 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.788, allocations: 54.73 kB / 1.279 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.7886, allocations: 76.72 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.789, allocations: 259.9 kB / 1.28 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.789, allocations: 12.75 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.789, allocations: 20.38 kB / 1.28 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.7895, allocations: 299.4 kB / 1.28 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.7895, allocations: 3.938 kB / 1.28 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.7895, allocations: 7.984 kB / 1.28 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.7896, allocations: 20.36 kB / 1.28 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.7899, allocations: 201 kB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.7914, allocations: 1.452 MB / 1.282 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.7917, allocations: 171.7 kB / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.7918, allocations: 24.86 kB / 1.282 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.7918, allocations: 3.938 kB / 1.282 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.7918, allocations: 46.55 kB / 1.282 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.7918, allocations: 0 / 1.282 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005072/0.7923, allocations: 219.7 kB / 1.282 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.7924, allocations: 51.41 kB / 1.282 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.7926, allocations: 215.8 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.7926, allocations: 25.7 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.7927, allocations: 163.9 kB / 1.283 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.7927, allocations: 31.78 kB / 1.283 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.7928, allocations: 33.72 kB / 1.283 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7929, allocations: 326.8 kB / 1.283 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.793, allocations: 39.97 kB / 1.283 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.7931, allocations: 108.4 kB / 1.283 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.7933, allocations: 144.4 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7933, allocations: 0 / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003162/0.7937, allocations: 190.4 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7937, allocations: 9.906 kB / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7937, allocations: 7.938 kB / 1.283 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.7939, allocations: 28.83 kB / 1.283 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.794, allocations: 20 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.7952, allocations: 1.422 MB / 1.285 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.7953, allocations: 19.83 kB / 1.285 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.7953, allocations: 12 kB / 1.285 GB, free: 6.883 MB / 0.9825 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.000151/0.7955, allocations: 154.3 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.7955, allocations: 11.91 kB / 1.285 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.7955, allocations: 21.39 kB / 1.285 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7955, allocations: 4 kB / 1.285 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7955, allocations: 0 / 1.285 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7956, allocations: 4.031 kB / 1.285 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.7961, allocations: 443.2 kB / 1.286 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7961, allocations: 0 / 1.286 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.7961, allocations: 12 kB / 1.286 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.634e-05/0.7962, allocations: 24.84 kB / 1.286 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.7962, allocations: 0 / 1.286 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.7973, allocations: 1.414 MB / 1.287 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7973, allocations: 0 / 1.287 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.7976, allocations: 216.3 kB / 1.287 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.7976, allocations: 105.1 kB / 1.287 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7977, allocations: 3.938 kB / 1.287 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7978, allocations: 8 kB / 1.287 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.7978, allocations: 4 kB / 1.287 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.7978, allocations: 0 / 1.287 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001343/0.7979, allocations: 144.4 kB / 1.287 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7979, allocations: 0 / 1.287 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003364/0.7983, allocations: 51.89 kB / 1.287 GB, free: 4.035 MB / 0.9825 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.0005734/0.7988, allocations: 0.7483 MB / 1.288 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.7992, allocations: 215.4 kB / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7992, allocations: 0 / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.7994, allocations: 142.7 kB / 1.289 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.7998, allocations: 42.56 kB / 1.289 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.8022, allocations: 2.059 MB / 1.291 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.8026, allocations: 0.7475 MB / 1.291 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.789e-05/0.8026, allocations: 29.52 kB / 1.291 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.8027, allocations: 47.42 kB / 1.291 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.8027, allocations: 4 kB / 1.291 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.8377, allocations: 3.727 MB / 1.295 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.591/10.43, allocations: 16.8 kB / 1.295 GB, free: 12.18 MB / 0.9981 GB " [Timeout remaining time 289] (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_2/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: 16.183071873965673]