Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001775/0.001775, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002099/0.002099, allocations: 189.9 kB / 22.23 MB, free: 5.156 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.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_10_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_10_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 79.86 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9854/0.9874, allocations: 160.8 MB / 1.218 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006142/0.9935, allocations: 3.191 MB / 1.222 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.9963, allocations: 1.382 MB / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.9966, allocations: 8.312 kB / 1.223 GB, free: 396 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.9978, allocations: 342.3 kB / 1.223 GB, free: 140 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.9983, allocations: 149.1 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.9988, allocations: 140.3 kB / 1.224 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.9993, allocations: 307.9 kB / 1.224 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.9998, allocations: 167.7 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/1, allocations: 125.2 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/1, allocations: 146.4 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/1, allocations: 22.78 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/1.001, allocations: 167.7 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/1.001, allocations: 91.38 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/1.001, allocations: 114.3 kB / 1.225 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/1.002, allocations: 329.8 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.002, allocations: 0 / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/1.002, allocations: 1.062 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.002, allocations: 0 / 1.225 GB, free: 15.06 MB / 0.9356 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.001011/1.003, allocations: 0.5272 MB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.003, allocations: 13.34 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/1.003, allocations: 79.59 kB / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/1.004, allocations: 242.5 kB / 1.226 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.004, allocations: 16.62 kB / 1.226 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/1.004, allocations: 20.86 kB / 1.226 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/1.004, allocations: 305.3 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.004, allocations: 1.344 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/1.004, allocations: 10.59 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/1.004, allocations: 17.42 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/1.005, allocations: 192.8 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/1.007, allocations: 1.466 MB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/1.007, allocations: 169.5 kB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/1.007, allocations: 30.31 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/1.007, allocations: 1.344 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.007, allocations: 31.31 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/1.007, allocations: 0 / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000566/1.008, allocations: 229.9 kB / 1.228 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.008, allocations: 55.34 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/1.008, allocations: 209.7 kB / 1.228 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.008, allocations: 26.83 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.008, allocations: 168.8 kB / 1.229 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/1.008, allocations: 27.28 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/1.008, allocations: 42.42 kB / 1.229 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.009, allocations: 325.7 kB / 1.229 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/1.009, allocations: 34.3 kB / 1.229 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.009, allocations: 97.66 kB / 1.229 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.009, allocations: 154 kB / 1.229 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.009, allocations: 0 / 1.229 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003497/1.009, allocations: 191.9 kB / 1.229 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.009, allocations: 9.312 kB / 1.229 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.009, allocations: 3.156 kB / 1.229 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/1.01, allocations: 29.5 kB / 1.229 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.01, allocations: 30.7 kB / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/1.011, allocations: 1.42 MB / 1.231 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/1.012, allocations: 17.06 kB / 1.231 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.012, allocations: 14 kB / 1.231 GB, free: 9.406 MB / 0.9356 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.0001806/1.012, allocations: 150.5 kB / 1.231 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/1.012, allocations: 14.95 kB / 1.231 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/1.012, allocations: 21.33 kB / 1.231 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.012, allocations: 1.312 kB / 1.231 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.012, allocations: 0 / 1.231 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/1.012, allocations: 1.344 kB / 1.231 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/1.012, allocations: 452.5 kB / 1.232 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.012, allocations: 0 / 1.232 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/1.012, allocations: 6.625 kB / 1.232 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-05/1.013, allocations: 27.66 kB / 1.232 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1.013, allocations: 0 / 1.232 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/1.014, allocations: 1.42 MB / 1.233 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.014, allocations: 0 / 1.233 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/1.014, allocations: 215.4 kB / 1.233 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/1.014, allocations: 91.67 kB / 1.233 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/1.014, allocations: 5.281 kB / 1.233 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/1.014, allocations: 7.094 kB / 1.233 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/1.015, allocations: 6.109 kB / 1.233 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.015, allocations: 2.156 kB / 1.233 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002065/1.015, allocations: 145 kB / 1.233 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5e-08/1.015, allocations: 0 / 1.233 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004242/1.015, allocations: 57.34 kB / 1.233 GB, free: 6.914 MB / 0.9356 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.000164/1.015, allocations: 104.6 kB / 1.234 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005172/1.016, allocations: 211.8 kB / 1.234 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.016, allocations: 0 / 1.234 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/1.016, allocations: 146 kB / 1.234 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/1.016, allocations: 38.86 kB / 1.234 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/1.017, allocations: 360 kB / 1.234 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.018, allocations: 0.751 MB / 1.235 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.488e-05/1.018, allocations: 21.47 kB / 1.235 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/1.018, allocations: 15.44 kB / 1.235 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/1.018, allocations: 0 / 1.235 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of Templates: time 0.005946/1.024, allocations: 1.872 MB / 1.237 GB, free: 3.605 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.305638480000198]