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.002379/0.002379, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002801/0.002801, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.938/2.938, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.292e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005822/0.005855, allocations: 3.154 MB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.008634, allocations: 1.348 MB / 0.7907 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.008794, allocations: 9.344 kB / 0.7908 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01011, allocations: 347.7 kB / 0.7911 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.0106, allocations: 156.1 kB / 0.7912 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.01104, allocations: 144.7 kB / 0.7914 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.0115, allocations: 306.9 kB / 0.7917 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.01195, allocations: 178 kB / 0.7918 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.01223, allocations: 179.6 kB / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.01257, allocations: 123.6 kB / 0.7921 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.01262, allocations: 20 kB / 0.7921 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.01293, allocations: 158.3 kB / 0.7923 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.01307, allocations: 87.73 kB / 0.7924 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.0132, allocations: 79.83 kB / 0.7925 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.01376, allocations: 350.8 kB / 0.7928 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01377, allocations: 4 kB / 0.7928 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.644e-06/0.01377, allocations: 0 / 0.7928 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.01378, allocations: 0 / 0.7928 GB, free: 6.211 MB / 0.7448 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.001334/0.01511, allocations: 0.5526 MB / 0.7933 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.01515, allocations: 12.03 kB / 0.7933 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/0.01585, allocations: 117.8 kB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.01623, allocations: 185.9 kB / 0.7936 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.01626, allocations: 16.75 kB / 0.7936 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.0163, allocations: 16.38 kB / 0.7937 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.0168, allocations: 322.3 kB / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01681, allocations: 2.031 kB / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.01684, allocations: 8.375 kB / 0.794 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.01688, allocations: 20.31 kB / 0.794 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.01713, allocations: 104.9 kB / 0.7941 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.01889, allocations: 1.289 MB / 0.7954 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01913, allocations: 67.59 kB / 0.7954 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.0192, allocations: 33.03 kB / 0.7955 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.01921, allocations: 3.938 kB / 0.7955 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.01925, allocations: 41.33 kB / 0.7955 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.01925, allocations: 0.5312 kB / 0.7955 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000482/0.01973, allocations: 122.6 kB / 0.7956 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.01978, allocations: 55.41 kB / 0.7957 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.02008, allocations: 258.9 kB / 0.7959 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.0201, allocations: 29.7 kB / 0.7959 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.02028, allocations: 226.8 kB / 0.7962 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.02031, allocations: 23.84 kB / 0.7962 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.02039, allocations: 48.56 kB / 0.7962 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002979/0.02069, allocations: 0.5001 MB / 0.7967 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.02074, allocations: 23.98 kB / 0.7967 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.0209, allocations: 121 kB / 0.7969 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.02113, allocations: 162.8 kB / 0.797 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02113, allocations: 0 / 0.797 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003356/0.02147, allocations: 179.8 kB / 0.7972 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.02149, allocations: 4 kB / 0.7972 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.0215, allocations: 7.406 kB / 0.7972 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.02176, allocations: 35.61 kB / 0.7972 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.02189, allocations: 27.98 kB / 0.7973 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.02351, allocations: 1.753 MB / 0.799 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.02363, allocations: 25.59 kB / 0.799 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.02365, allocations: 4 kB / 0.799 GB, free: 15.39 MB / 0.7605 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.0001829/0.02383, allocations: 173.3 kB / 0.7992 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.02387, allocations: 15.91 kB / 0.7992 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.02391, allocations: 17.47 kB / 0.7992 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.02391, allocations: 4.875 kB / 0.7992 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.02392, allocations: 0 / 0.7992 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02392, allocations: 4.641 kB / 0.7992 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.02453, allocations: 421 kB / 0.7996 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.02454, allocations: 4.625 kB / 0.7996 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.02458, allocations: 10.53 kB / 0.7996 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.02475, allocations: 31.66 kB / 0.7996 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.02476, allocations: 0 / 0.7996 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.02655, allocations: 1.762 MB / 0.8014 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02655, allocations: 3.938 kB / 0.8014 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.02687, allocations: 251.4 kB / 0.8016 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.02693, allocations: 20.78 kB / 0.8016 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.02695, allocations: 7.984 kB / 0.8016 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.02706, allocations: 9.062 kB / 0.8016 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.02709, allocations: 3.984 kB / 0.8017 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.02709, allocations: 4 kB / 0.8017 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001738/0.02727, allocations: 178.7 kB / 0.8018 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02727, allocations: 0 / 0.8018 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003635/0.02763, allocations: 51.89 kB / 0.8019 GB, free: 12.25 MB / 0.7605 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.0001515/0.02778, allocations: 101 kB / 0.802 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.02827, allocations: 251.2 kB / 0.8022 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02827, allocations: 0 / 0.8022 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.0285, allocations: 206.3 kB / 0.8024 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.02889, allocations: 36.73 kB / 0.8024 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.02961, allocations: 356.2 kB / 0.8028 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.02978, allocations: 137 kB / 0.8029 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.02986, allocations: 13.48 kB / 0.8029 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.0299, allocations: 20.5 kB / 0.8029 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.0299, allocations: 0 / 0.8029 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of Templates: time 0.005761/0.03566, allocations: 1.673 MB / 0.8046 GB, free: 9.43 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.986436441889964]