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.0007951/0.0007951, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002148, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008603/0.0008603, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001966, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.064/1.064, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.166, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.322/2.322, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.244/2.566, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.173e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004596/0.004617, allocations: 2.643 MB / 0.8209 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.006434, allocations: 1.016 MB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.006564, allocations: 7.938 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.007048, allocations: 119.4 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.00736, allocations: 159 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.007641, allocations: 107.7 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.008078, allocations: 354.7 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.008424, allocations: 170 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.008709, allocations: 207.5 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.009063, allocations: 135.6 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.009103, allocations: 20 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.009339, allocations: 91.72 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.009441, allocations: 75.8 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.009538, allocations: 63.88 kB / 0.8233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.009945, allocations: 215.2 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-05/0.009972, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.009973, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.01, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 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.0008866/0.01089, allocations: 467.8 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.01094, allocations: 12.61 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.01159, allocations: 189.8 kB / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.01189, allocations: 173.4 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.01191, allocations: 16.73 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.01194, allocations: 24.38 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.01233, allocations: 268.5 kB / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.01234, allocations: 4.188 kB / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.01237, allocations: 8.359 kB / 0.8246 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.01241, allocations: 23.92 kB / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.01256, allocations: 63.59 kB / 0.8247 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01373, allocations: 0.9002 MB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.01391, allocations: 57.38 kB / 0.8256 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.01395, allocations: 16.86 kB / 0.8256 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.01396, allocations: 0 / 0.8256 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.01399, allocations: 34.56 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.01399, allocations: 0 / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003402/0.01433, allocations: 102.4 kB / 0.8258 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.01436, allocations: 51.41 kB / 0.8258 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01451, allocations: 178.6 kB / 0.826 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01453, allocations: 33.69 kB / 0.826 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.01462, allocations: 159.9 kB / 0.8262 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.01465, allocations: 31.77 kB / 0.8262 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.01471, allocations: 33.67 kB / 0.8262 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01483, allocations: 326.8 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.01486, allocations: 11.98 kB / 0.8266 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.01493, allocations: 80.5 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.01506, allocations: 103.3 kB / 0.8267 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01506, allocations: 7.984 kB / 0.8267 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000234/0.0153, allocations: 126.2 kB / 0.8269 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.01532, allocations: 8 kB / 0.8269 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.01533, allocations: 0 / 0.8269 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.01555, allocations: 29.12 kB / 0.8269 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.01566, allocations: 43.86 kB / 0.8269 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.0169, allocations: 1.186 MB / 0.8281 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.017, allocations: 19.83 kB / 0.8281 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.01701, allocations: 8 kB / 0.8281 GB, free: 8.395 MB / 0.8073 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.0001064/0.01712, allocations: 132.7 kB / 0.8283 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.01716, allocations: 11.98 kB / 0.8283 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.01718, allocations: 17.45 kB / 0.8283 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01718, allocations: 4 kB / 0.8283 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01719, allocations: 0 / 0.8283 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01719, allocations: 3.938 kB / 0.8283 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.01751, allocations: 255.5 kB / 0.8285 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01751, allocations: 0 / 0.8285 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.01755, allocations: 11.98 kB / 0.8285 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.01759, allocations: 15.94 kB / 0.8286 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.01772, allocations: 36.77 kB / 0.8286 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.01773, allocations: 4 kB / 0.8286 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000759/0.01849, allocations: 1.183 MB / 0.8298 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01849, allocations: 4.125 kB / 0.8298 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.01865, allocations: 175.1 kB / 0.8299 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01867, allocations: 4 kB / 0.8299 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.01877, allocations: 7.984 kB / 0.8299 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.01878, allocations: 4 kB / 0.8299 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01879, allocations: 0 / 0.8299 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.01885, allocations: 48.8 kB / 0.83 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.31e-07/0.01885, allocations: 0 / 0.83 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002919/0.01915, allocations: 55.84 kB / 0.83 GB, free: 6.273 MB / 0.8073 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.0001148/0.01926, allocations: 84.41 kB / 0.8301 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01954, allocations: 175.3 kB / 0.8303 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.01955, allocations: 0 / 0.8303 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01967, allocations: 139.4 kB / 0.8304 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01998, allocations: 50.53 kB / 0.8305 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.02254, allocations: 374.5 kB / 0.8308 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.02261, allocations: 79.97 kB / 0.8309 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.291e-05/0.02268, allocations: 21.47 kB / 0.8309 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.02279, allocations: 79.3 kB / 0.831 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of SimCode: time 1.093e-06/0.02279, allocations: 4 kB / 0.831 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of Templates: time 0.003838/0.02663, allocations: 1.863 MB / 0.8328 GB, free: 3.363 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.12300562299788]