Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001423/0.001423, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001475/0.001475, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.046/3.046, allocations: 0.49 GB / 0.7923 GB, free: 1.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [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.002107/0.002107, allocations: 71.89 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9278, allocations: 176.1 MB / 1.322 GB, free: 25.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003805/0.9316, allocations: 3.122 MB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.9332, allocations: 1.396 MB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.9334, allocations: 6.688 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.9343, allocations: 345.2 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.9345, allocations: 146.8 kB / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.9348, allocations: 134.1 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.9352, allocations: 306.4 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.9356, allocations: 190.8 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.9357, allocations: 122.6 kB / 1.328 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.936, allocations: 151 kB / 1.328 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.936, allocations: 18 kB / 1.328 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.9363, allocations: 179.1 kB / 1.328 GB, free: 21.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.9364, allocations: 83 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.9365, allocations: 105.3 kB / 1.328 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.9369, allocations: 335.3 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9369, allocations: 4.906 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9369, allocations: 0 / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.9369, allocations: 0 / 1.328 GB, free: 21.14 MB / 1.061 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.0007399/0.9377, allocations: 0.5222 MB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9377, allocations: 16.75 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005796/0.9383, allocations: 78.17 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.9385, allocations: 250.3 kB / 1.329 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.9386, allocations: 19.8 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.9386, allocations: 16.69 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.939, allocations: 293.5 kB / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.9391, allocations: 4.75 kB / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.9391, allocations: 6.281 kB / 1.33 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.9391, allocations: 16.38 kB / 1.33 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.9394, allocations: 200.7 kB / 1.33 GB, free: 20.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.9408, allocations: 1.465 MB / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.9411, allocations: 165.7 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.9412, allocations: 34 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.9412, allocations: 0.9688 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.9412, allocations: 40.33 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.9412, allocations: 0 / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005141/0.9417, allocations: 223.2 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.9417, allocations: 52.56 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.942, allocations: 201.1 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.942, allocations: 26.98 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.9421, allocations: 175.3 kB / 1.332 GB, free: 18.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.9421, allocations: 25.98 kB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.9422, allocations: 42.95 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.9422, allocations: 326.8 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.9423, allocations: 36.17 kB / 1.332 GB, free: 17.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.9424, allocations: 106.3 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.9426, allocations: 149.9 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9426, allocations: 0 / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003156/0.9429, allocations: 190.8 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9429, allocations: 7.547 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.9429, allocations: 2.312 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.9431, allocations: 29.73 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.9432, allocations: 25.09 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008116/0.944, allocations: 1.419 MB / 1.334 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.9441, allocations: 18.73 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.9441, allocations: 5.906 kB / 1.334 GB, free: 15.91 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.0001102/0.9443, allocations: 155 kB / 1.335 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.9443, allocations: 15.94 kB / 1.335 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.9443, allocations: 22.94 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.9443, allocations: 1.156 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.9443, allocations: 0.75 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9443, allocations: 1.156 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.9448, allocations: 447.4 kB / 1.335 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9448, allocations: 5.75 kB / 1.335 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.9449, allocations: 10.34 kB / 1.335 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.728e-05/0.9449, allocations: 23.61 kB / 1.335 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.9449, allocations: 1.312 kB / 1.335 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007464/0.9457, allocations: 1.411 MB / 1.336 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9457, allocations: 0.8125 kB / 1.336 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.9459, allocations: 215.5 kB / 1.337 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.946, allocations: 97.88 kB / 1.337 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.946, allocations: 1.906 kB / 1.337 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.9461, allocations: 3.906 kB / 1.337 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.9461, allocations: 4.141 kB / 1.337 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.9461, allocations: 6.062 kB / 1.337 GB, free: 13.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001136/0.9462, allocations: 145.7 kB / 1.337 GB, free: 13.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9462, allocations: 1.406 kB / 1.337 GB, free: 13.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00034/0.9466, allocations: 56.05 kB / 1.337 GB, free: 13.54 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.0001022/0.9467, allocations: 100.2 kB / 1.337 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.947, allocations: 214.1 kB / 1.337 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.947, allocations: 0.75 kB / 1.337 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.9472, allocations: 152.1 kB / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.9475, allocations: 32.56 kB / 1.337 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.9482, allocations: 383.5 kB / 1.338 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.9484, allocations: 0.754 MB / 1.338 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.9484, allocations: 15.78 kB / 1.338 GB, free: 12.18 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/0.9484, allocations: 0.9375 kB / 1.339 GB, free: 12.18 MB / 1.061 GB Notification: Performance of Templates: time 0.00622/0.9547, allocations: 2.995 MB / 1.341 GB, free: 11.93 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.455439380006283]