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.0009544/0.0009544, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009517/0.0009517, allocations: 161 kB / 23.82 MB, free: 0.75 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.037/1.037, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] 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.017/2.017, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 177] 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 2.034e-06/2.034e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.834e-05/4.038e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00421/0.004251, allocations: 2.576 MB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.005985, allocations: 0.9855 MB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.006157, allocations: 12.53 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.006851, allocations: 92.53 kB / 0.7906 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.007273, allocations: 139.8 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.007606, allocations: 113.2 kB / 0.7909 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.008016, allocations: 318.9 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.008483, allocations: 178 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.008685, allocations: 171.6 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.008995, allocations: 131.6 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.009032, allocations: 22.94 kB / 0.7917 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.009229, allocations: 91.72 kB / 0.7918 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.009327, allocations: 95.73 kB / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.009414, allocations: 75.83 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.009809, allocations: 223.3 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.009818, allocations: 4 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.906e-06/0.009821, allocations: 0 / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.00983, allocations: 0 / 0.7921 GB, free: 7.336 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.0008844/0.01071, allocations: 0.5363 MB / 0.7927 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.01077, allocations: 12.56 kB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004943/0.01126, allocations: 121.3 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.01158, allocations: 188.1 kB / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01161, allocations: 20.73 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.01164, allocations: 16.38 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.01201, allocations: 298.9 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.01203, allocations: 4.125 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.01205, allocations: 5.062 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/0.01211, allocations: 28.98 kB / 0.7933 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.01226, allocations: 85.56 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01354, allocations: 1.235 MB / 0.7946 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.01376, allocations: 79 kB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.01381, allocations: 23.72 kB / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.01382, allocations: 0 / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.01386, allocations: 43.14 kB / 0.7947 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.01386, allocations: 0 / 0.7947 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004209/0.01428, allocations: 121.5 kB / 0.7949 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.01432, allocations: 52.22 kB / 0.7949 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01449, allocations: 237.8 kB / 0.7951 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.0145, allocations: 32.05 kB / 0.7952 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01462, allocations: 218.7 kB / 0.7954 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.01464, allocations: 23.95 kB / 0.7954 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.01469, allocations: 39.36 kB / 0.7954 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.01485, allocations: 0.4923 MB / 0.7959 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.01489, allocations: 15.91 kB / 0.7959 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.01498, allocations: 118.8 kB / 0.796 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01513, allocations: 143 kB / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01513, allocations: 3.984 kB / 0.7962 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002325/0.01536, allocations: 155.3 kB / 0.7963 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.01539, allocations: 8 kB / 0.7963 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.0154, allocations: 7.984 kB / 0.7964 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.01565, allocations: 33.42 kB / 0.7964 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.01574, allocations: 32.67 kB / 0.7964 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.01681, allocations: 1.745 MB / 0.7981 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.01689, allocations: 15.89 kB / 0.7981 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.0169, allocations: 8 kB / 0.7981 GB, free: 0.7148 MB / 0.7448 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.0001122/0.01701, allocations: 172.4 kB / 0.7983 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.01704, allocations: 15.91 kB / 0.7983 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.01706, allocations: 21.41 kB / 0.7983 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01706, allocations: 3.938 kB / 0.7983 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01707, allocations: 4 kB / 0.7984 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01707, allocations: 1.438 kB / 0.7984 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.01745, allocations: 389 kB / 0.7987 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01746, allocations: 0 / 0.7987 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.01748, allocations: 8 kB / 0.7987 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.0176, allocations: 37.72 kB / 0.7988 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01761, allocations: 1.125 kB / 0.7988 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000811/0.01842, allocations: 1.729 MB / 0.8005 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01842, allocations: 1.844 kB / 0.8005 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01859, allocations: 251.4 kB / 0.8007 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.01863, allocations: 19.91 kB / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.01864, allocations: 0 / 0.8007 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.0187, allocations: 12.42 kB / 0.8007 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.01872, allocations: 4.828 kB / 0.8007 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.01873, allocations: 8 kB / 0.8007 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.517e-05/0.01882, allocations: 166.6 kB / 0.8009 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01882, allocations: 0 / 0.8009 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002449/0.01906, allocations: 51.89 kB / 0.8009 GB, free: 13.64 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.0001233/0.01919, allocations: 96.41 kB / 0.801 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.01954, allocations: 246.1 kB / 0.8013 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01954, allocations: 0 / 0.8013 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01964, allocations: 197.5 kB / 0.8015 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.01995, allocations: 31.05 kB / 0.8015 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/0.02085, allocations: 354.1 kB / 0.8018 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.02093, allocations: 91.95 kB / 0.8019 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.141e-05/0.02101, allocations: 17.48 kB / 0.8019 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.02105, allocations: 16.5 kB / 0.802 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of SimCode: time 8.41e-07/0.02105, allocations: 0 / 0.802 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.004591/0.02564, allocations: 1.675 MB / 0.8036 GB, free: 10.89 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.982208827976137]