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.001313/0.001313, allocations: 110.4 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.00151/0.00151, allocations: 217.3 kB / 22.25 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.957 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.213/3.213, allocations: 0.505 GB / 0.8101 GB, free: 21.98 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.00199/0.00199, allocations: 74.92 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005142/0.3711, allocations: 3.2 MB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.3736, allocations: 1.41 MB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.3737, allocations: 15.94 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3749, allocations: 342.7 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.3752, allocations: 147.2 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.3757, allocations: 143.6 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.3761, allocations: 306.9 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.3765, allocations: 192.5 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.3767, allocations: 123.6 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.377, allocations: 151.4 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.3771, allocations: 16 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.3774, allocations: 167.6 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3775, allocations: 83.78 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3776, allocations: 115.4 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.3781, allocations: 334.8 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3781, allocations: 0 / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3781, allocations: 4 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3781, allocations: 0 / 1.359 GB, free: 1.703 MB / 1.045 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.0008607/0.379, allocations: 461.4 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.379, allocations: 12.03 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.3791, allocations: 62.66 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.3796, allocations: 72.73 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.38, allocations: 186.2 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.38, allocations: 20.73 kB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.38, allocations: 16.38 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.3805, allocations: 303.1 kB / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3805, allocations: 0 / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3805, allocations: 12 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.3806, allocations: 16.36 kB / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.3809, allocations: 193 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3826, allocations: 1.429 MB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3828, allocations: 94.55 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.3829, allocations: 32.84 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3829, allocations: 0 / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.383, allocations: 34.56 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.383, allocations: 0 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004672/0.3834, allocations: 154.5 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3835, allocations: 55.41 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.3837, allocations: 195 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3837, allocations: 29.7 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3838, allocations: 167.9 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3838, allocations: 27.8 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.3839, allocations: 33.72 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.384, allocations: 322.8 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.3841, allocations: 43.92 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3842, allocations: 101.8 kB / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3844, allocations: 148.4 kB / 1.363 GB, free: 13.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3844, allocations: 0 / 1.363 GB, free: 13.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003326/0.3848, allocations: 194.2 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3848, allocations: 8 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3848, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.385, allocations: 20.84 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3851, allocations: 40.2 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3863, allocations: 1.315 MB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3864, allocations: 15.92 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3864, allocations: 8.062 kB / 1.365 GB, free: 11.43 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.0001701/0.3866, allocations: 149.7 kB / 1.365 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.3867, allocations: 19.95 kB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.3867, allocations: 21.39 kB / 1.365 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3867, allocations: 0 / 1.365 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3867, allocations: 8.062 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3867, allocations: 0 / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.3873, allocations: 426.2 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3873, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.3873, allocations: 8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.909e-05/0.3874, allocations: 28.78 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3874, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3885, allocations: 1.312 MB / 1.367 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3885, allocations: 0 / 1.367 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3888, allocations: 216.3 kB / 1.367 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3888, allocations: 23.88 kB / 1.367 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3889, allocations: 0 / 1.367 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.389, allocations: 4 kB / 1.367 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.389, allocations: 8.047 kB / 1.367 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.389, allocations: 8 kB / 1.367 GB, free: 9.023 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001371/0.3891, allocations: 147 kB / 1.367 GB, free: 8.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3891, allocations: 0 / 1.367 GB, free: 8.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003435/0.3895, allocations: 55.84 kB / 1.367 GB, free: 8.824 MB / 1.061 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.0005613/0.39, allocations: 0.7482 MB / 1.368 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.3904, allocations: 206.5 kB / 1.368 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3904, allocations: 0 / 1.368 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3906, allocations: 146.6 kB / 1.368 GB, free: 7.672 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.391, allocations: 43.75 kB / 1.368 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.3934, allocations: 2.047 MB / 1.37 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.3938, allocations: 0.7515 MB / 1.371 GB, free: 4.664 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.188e-05/0.3939, allocations: 21.47 kB / 1.371 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.394, allocations: 55.41 kB / 1.371 GB, free: 4.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.394, allocations: 4 kB / 1.371 GB, free: 4.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.4394, allocations: 3.879 MB / 1.375 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 19.08 kB / 1.375 GB, free: 0.8438 MB / 1.061 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: 18.737857910999992]