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.0009194/0.0009194, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009181/0.0009181, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9575/0.9575, allocations: 177.1 MB / 204.5 MB, free: 5.496 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 1.752/1.752, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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 1.724e-06/1.724e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.366e-05, allocations: 7.188 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003928/0.003952, allocations: 2.547 MB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.005659, allocations: 0.9901 MB / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.005797, allocations: 11.94 kB / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.00625, allocations: 91.45 kB / 0.7911 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.006576, allocations: 138.6 kB / 0.7912 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.006848, allocations: 111.7 kB / 0.7913 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.00721, allocations: 310.9 kB / 0.7916 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.007563, allocations: 184.6 kB / 0.7918 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.007785, allocations: 179.6 kB / 0.792 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.008069, allocations: 128.4 kB / 0.7921 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.008105, allocations: 20.62 kB / 0.7921 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.008299, allocations: 91.72 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.008388, allocations: 92.27 kB / 0.7923 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.435e-05/0.008473, allocations: 80.61 kB / 0.7924 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.008802, allocations: 219.3 kB / 0.7926 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008806, allocations: 4.906 kB / 0.7926 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/0.008807, allocations: 0 / 0.7926 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.008811, allocations: 0 / 0.7926 GB, free: 7.059 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.0006307/0.009442, allocations: 0.5446 MB / 0.7931 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.00948, allocations: 8.031 kB / 0.7931 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004842/0.009964, allocations: 113.8 kB / 0.7932 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.0102, allocations: 181.7 kB / 0.7934 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.01021, allocations: 12.75 kB / 0.7934 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.01024, allocations: 21.38 kB / 0.7934 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.01054, allocations: 286.3 kB / 0.7937 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01055, allocations: 192 / 0.7937 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01057, allocations: 9.312 kB / 0.7937 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.01061, allocations: 24.28 kB / 0.7937 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.01073, allocations: 70.11 kB / 0.7938 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.01189, allocations: 1.239 MB / 0.795 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.01203, allocations: 71.03 kB / 0.7951 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.01206, allocations: 15.69 kB / 0.7951 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.01207, allocations: 0 / 0.7951 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.0121, allocations: 46.61 kB / 0.7951 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.0121, allocations: 0 / 0.7951 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002926/0.01239, allocations: 106.2 kB / 0.7952 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.01242, allocations: 51.97 kB / 0.7953 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01256, allocations: 237.7 kB / 0.7955 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.01258, allocations: 30.62 kB / 0.7955 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.01267, allocations: 214.7 kB / 0.7957 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.01269, allocations: 32.77 kB / 0.7958 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.01275, allocations: 39.36 kB / 0.7958 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.01287, allocations: 0.4923 MB / 0.7963 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.0129, allocations: 16.95 kB / 0.7963 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.01298, allocations: 114.7 kB / 0.7964 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.01311, allocations: 131.7 kB / 0.7965 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01311, allocations: 4.938 kB / 0.7966 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000222/0.01333, allocations: 155 kB / 0.7967 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01335, allocations: 8 kB / 0.7967 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.01335, allocations: 6.234 kB / 0.7967 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.01351, allocations: 35.66 kB / 0.7967 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.0136, allocations: 24.81 kB / 0.7968 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.01448, allocations: 1.727 MB / 0.7985 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.01457, allocations: 23.88 kB / 0.7985 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.01458, allocations: 5.062 kB / 0.7985 GB, free: 0.543 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 9.131e-05/0.01467, allocations: 169.4 kB / 0.7986 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.0147, allocations: 19.91 kB / 0.7987 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.01472, allocations: 13.47 kB / 0.7987 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01472, allocations: 0.5 kB / 0.7987 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01473, allocations: 4.531 kB / 0.7987 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01473, allocations: 0 / 0.7987 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.01508, allocations: 351 kB / 0.799 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01508, allocations: 0 / 0.799 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.01511, allocations: 11.98 kB / 0.799 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.01522, allocations: 38.02 kB / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.01523, allocations: 0 / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000764/0.01599, allocations: 1.711 MB / 0.8007 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01599, allocations: 4 kB / 0.8007 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.0163, allocations: 247 kB / 0.801 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.01633, allocations: 15.89 kB / 0.801 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.01634, allocations: 4 kB / 0.801 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.01643, allocations: 4 kB / 0.801 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.01644, allocations: 7.984 kB / 0.801 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.01645, allocations: 0 / 0.801 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.01e-05/0.01653, allocations: 161.5 kB / 0.8012 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01653, allocations: 0 / 0.8012 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003188/0.01685, allocations: 55.83 kB / 0.8012 GB, free: 13.57 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 9.729e-05/0.01695, allocations: 99.78 kB / 0.8013 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.01719, allocations: 241.5 kB / 0.8015 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0172, allocations: 0 / 0.8015 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.0173, allocations: 197.5 kB / 0.8017 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.01762, allocations: 35.66 kB / 0.8018 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.01839, allocations: 350.6 kB / 0.8021 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.01845, allocations: 91.95 kB / 0.8022 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.647e-05/0.01852, allocations: 13.48 kB / 0.8022 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.01862, allocations: 102.2 kB / 0.8023 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01862, allocations: 0 / 0.8023 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of Templates: time 0.004488/0.02311, allocations: 1.787 MB / 0.804 GB, free: 10.62 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: 4.833721823059022]