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.002055/0.002055, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002239/0.002239, allocations: 214.1 kB / 22.99 MB, free: 4.941 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.233/3.233, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 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.002182/0.002182, allocations: 64.95 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4027, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006015/0.4087, allocations: 3.074 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.4114, allocations: 1.313 MB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.4116, allocations: 7.938 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.4128, allocations: 342.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.4133, allocations: 147.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.4138, allocations: 138.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.4143, allocations: 303 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.4147, allocations: 181.1 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.415, allocations: 139.5 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.4154, allocations: 131.5 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.4154, allocations: 16 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.4157, allocations: 147.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.4159, allocations: 79.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.416, allocations: 99.58 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.4166, allocations: 338.7 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4166, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4166, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.4166, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 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.001039/0.4176, allocations: 461.5 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4177, allocations: 8.031 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.4183, allocations: 80.72 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.4187, allocations: 182.2 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.4188, allocations: 20.69 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.4188, allocations: 20.38 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.4194, allocations: 376.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4194, allocations: 3.938 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4194, allocations: 15.92 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.4195, allocations: 16.36 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.4198, allocations: 193 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.4213, allocations: 0.9926 MB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.4216, allocations: 94.55 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.4217, allocations: 36.78 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.4217, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4217, allocations: 38.5 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4217, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004853/0.4222, allocations: 138.5 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.4223, allocations: 55.41 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.4225, allocations: 190.3 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4225, allocations: 25.7 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4226, allocations: 171.9 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.4227, allocations: 31.92 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.4227, allocations: 33.72 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4229, allocations: 326.8 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.423, allocations: 43.91 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.4231, allocations: 88.58 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.4233, allocations: 148.4 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4233, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003448/0.4236, allocations: 190.2 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4237, allocations: 8 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4237, allocations: 0 / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.4239, allocations: 32.88 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.424, allocations: 27.92 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.4255, allocations: 1.296 MB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4256, allocations: 19.95 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.4256, allocations: 8 kB / 1.338 GB, free: 5.727 MB / 1.029 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.0001917/0.4258, allocations: 149.7 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.4259, allocations: 19.84 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.4259, allocations: 17.41 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4259, allocations: 0 / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4259, allocations: 0 / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4259, allocations: 4.094 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.4265, allocations: 362.9 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4265, allocations: 4 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.4266, allocations: 4 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.4267, allocations: 28.83 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4267, allocations: 0 / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.428, allocations: 1.295 MB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.428, allocations: 0 / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.4283, allocations: 208.2 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.4284, allocations: 27.83 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.4284, allocations: 0 / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4285, allocations: 8 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.4285, allocations: 3.984 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-06/0.4285, allocations: 4 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001452/0.4287, allocations: 132.3 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4287, allocations: 4.094 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003882/0.4291, allocations: 51.89 kB / 1.34 GB, free: 3.25 MB / 1.029 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.0001668/0.4292, allocations: 99.98 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.4297, allocations: 203 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4297, allocations: 0 / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4299, allocations: 151.2 kB / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.4303, allocations: 43.75 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.4311, allocations: 400.7 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.4312, allocations: 139.9 kB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.4313, allocations: 19.38 kB / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4313, allocations: 0 / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of Templates: time 0.005982/0.4373, allocations: 2.968 MB / 1.344 GB, free: 15.17 MB / 1.045 GB " [Timeout remaining time 300] 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.478077143896371]