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.001693/0.001693, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.002468/0.002468, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.546/1.546, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002044/0.002044, allocations: 67.89 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 160.7 MB / 1.214 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006722/0.3588, allocations: 3.117 MB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.3619, allocations: 1.356 MB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.362, allocations: 11.88 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.3633, allocations: 346.6 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.3638, allocations: 147.3 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.3643, allocations: 135.6 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.3648, allocations: 303 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.3653, allocations: 196.2 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.3655, allocations: 127.5 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.3659, allocations: 139.5 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.366, allocations: 20 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.3664, allocations: 175.6 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.3665, allocations: 83.73 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3667, allocations: 115.5 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.3673, allocations: 330.8 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3673, allocations: 0 / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3673, allocations: 0 / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.3673, allocations: 0 / 1.22 GB, free: 10.4 MB / 0.9669 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.001156/0.3685, allocations: 0.5143 MB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3685, allocations: 16.02 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/0.3694, allocations: 76.73 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3698, allocations: 248 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3699, allocations: 12.75 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.3699, allocations: 16.38 kB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.3706, allocations: 299.5 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3706, allocations: 4 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.3706, allocations: 11.97 kB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/0.3707, allocations: 12.38 kB / 1.222 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.3711, allocations: 208.6 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.3733, allocations: 1.464 MB / 1.223 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.3736, allocations: 167.7 kB / 1.223 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.3737, allocations: 28.84 kB / 1.223 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3737, allocations: 4 kB / 1.223 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3737, allocations: 30.56 kB / 1.223 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.3737, allocations: 8 kB / 1.223 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006064/0.3743, allocations: 227.6 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3744, allocations: 51.41 kB / 1.224 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3746, allocations: 207 kB / 1.224 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3746, allocations: 25.7 kB / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3748, allocations: 164 kB / 1.224 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.3748, allocations: 31.73 kB / 1.224 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.3749, allocations: 37.72 kB / 1.224 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3751, allocations: 330.7 kB / 1.224 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.3751, allocations: 31.98 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3753, allocations: 106.4 kB / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3755, allocations: 156.4 kB / 1.225 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3755, allocations: 0 / 1.225 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003239/0.3758, allocations: 186.2 kB / 1.225 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3758, allocations: 8 kB / 1.225 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3758, allocations: 4.281 kB / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.376, allocations: 28.84 kB / 1.225 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3761, allocations: 27.92 kB / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.3774, allocations: 1.422 MB / 1.226 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3775, allocations: 23.88 kB / 1.226 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3776, allocations: 4 kB / 1.226 GB, free: 3.66 MB / 0.9669 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.0001446/0.3777, allocations: 153.8 kB / 1.227 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.3777, allocations: 11.95 kB / 1.227 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.3778, allocations: 17.41 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3778, allocations: 4.031 kB / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3778, allocations: 4 kB / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3778, allocations: 0 / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3783, allocations: 451.1 kB / 1.227 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3784, allocations: 0 / 1.227 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3785, allocations: 8 kB / 1.227 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.509e-05/0.3785, allocations: 24.84 kB / 1.227 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3786, allocations: 7.984 kB / 1.227 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.3798, allocations: 1.422 MB / 1.228 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3798, allocations: 96 / 1.228 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3801, allocations: 216.1 kB / 1.229 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.3801, allocations: 101.1 kB / 1.229 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3802, allocations: 4 kB / 1.229 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.3803, allocations: 4 kB / 1.229 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.3803, allocations: 3.984 kB / 1.229 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3803, allocations: 8 kB / 1.229 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001403/0.3805, allocations: 136.4 kB / 1.229 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3805, allocations: 0 / 1.229 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003575/0.3808, allocations: 55.89 kB / 1.229 GB, free: 0.8008 MB / 0.9669 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.0001392/0.381, allocations: 103.2 kB / 1.229 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.3814, allocations: 214.4 kB / 1.229 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.3814, allocations: 0 / 1.229 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.3816, allocations: 138.7 kB / 1.229 GB, free: 324 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3819, allocations: 33.17 kB / 1.229 GB, free: 292 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007868/0.3827, allocations: 403.9 kB / 1.23 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3831, allocations: 0.7514 MB / 1.231 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.3832, allocations: 15.44 kB / 1.231 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3832, allocations: 0 / 1.231 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.005379/0.3886, allocations: 2.989 MB / 1.233 GB, free: 12.08 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.374314321903512]