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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001086/0.001086, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9817/0.9817, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.751/1.751, allocations: 359 MB / 0.6052 GB, free: 11.01 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.744e-06/1.744e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.7e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006738/0.006765, allocations: 2.568 MB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.01138, allocations: 0.9904 MB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.0115, allocations: 4 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.012, allocations: 112 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.01231, allocations: 136.5 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.01255, allocations: 109.1 kB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000354/0.0129, allocations: 314.8 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.01631, allocations: 180.7 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.01653, allocations: 181.3 kB / 0.7915 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.01685, allocations: 127.7 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.01689, allocations: 16 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.0171, allocations: 103.6 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.0172, allocations: 85 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.0173, allocations: 79.83 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.01767, allocations: 227.2 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01768, allocations: 1.938 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01768, allocations: 0 / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.01769, allocations: 4 kB / 0.7921 GB, free: 7.32 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.0007631/0.01845, allocations: 0.5337 MB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.0185, allocations: 8.031 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.0221, allocations: 124.5 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.02243, allocations: 188.8 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.02245, allocations: 13.47 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.02248, allocations: 20.38 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.02289, allocations: 294.8 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.0229, allocations: 4.188 kB / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.02293, allocations: 6.031 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.02298, allocations: 24.3 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.02316, allocations: 88.75 kB / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.02446, allocations: 1.238 MB / 0.7946 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.02467, allocations: 71.91 kB / 0.7947 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.02472, allocations: 19.67 kB / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.02473, allocations: 4.781 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.02476, allocations: 45.33 kB / 0.7947 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 4.268e-06/0.02476, allocations: 1.281 kB / 0.7948 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.003392/0.02816, allocations: 117.4 kB / 0.7949 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.02819, allocations: 52.25 kB / 0.7949 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.02834, allocations: 237.8 kB / 0.7951 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.02836, allocations: 26.92 kB / 0.7952 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.02845, allocations: 218.7 kB / 0.7954 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.02847, allocations: 27.78 kB / 0.7954 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.02853, allocations: 40.67 kB / 0.7954 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.02865, allocations: 0.4923 MB / 0.7959 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.02869, allocations: 19.91 kB / 0.7959 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.02878, allocations: 118.7 kB / 0.7961 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.02891, allocations: 137 kB / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.02892, allocations: 0 / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002537/0.02917, allocations: 163.3 kB / 0.7963 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.02919, allocations: 8 kB / 0.7963 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.0292, allocations: 4 kB / 0.7963 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.02941, allocations: 37.41 kB / 0.7964 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.02949, allocations: 32.64 kB / 0.7964 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009264/0.03042, allocations: 1.743 MB / 0.7981 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.03051, allocations: 19.89 kB / 0.7981 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.03052, allocations: 4 kB / 0.7981 GB, free: 0.7109 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.691e-05/0.03061, allocations: 170.4 kB / 0.7983 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.03065, allocations: 19.89 kB / 0.7983 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.03067, allocations: 17.47 kB / 0.7983 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.03067, allocations: 3.938 kB / 0.7983 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.03067, allocations: 0.9375 kB / 0.7983 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.03068, allocations: 4 kB / 0.7983 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.03207, allocations: 397 kB / 0.7987 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.03207, allocations: 1.125 kB / 0.7987 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.0321, allocations: 8 kB / 0.7987 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.0322, allocations: 34.06 kB / 0.7988 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.03221, allocations: 0 / 0.7988 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.03289, allocations: 1.734 MB / 0.8005 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03289, allocations: 4.469 kB / 0.8005 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.03314, allocations: 251.8 kB / 0.8007 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.03317, allocations: 15.91 kB / 0.8007 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.03318, allocations: 4 kB / 0.8007 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.03324, allocations: 11.92 kB / 0.8007 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.03326, allocations: 4 kB / 0.8007 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.03326, allocations: 4 kB / 0.8007 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.03334, allocations: 165.5 kB / 0.8009 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03334, allocations: 0 / 0.8009 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002191/0.03356, allocations: 51.89 kB / 0.801 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.0001005/0.03366, allocations: 103.2 kB / 0.801 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.03395, allocations: 237.4 kB / 0.8013 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.03395, allocations: 4 kB / 0.8013 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.03404, allocations: 201.6 kB / 0.8015 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.0343, allocations: 35.95 kB / 0.8015 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.03502, allocations: 350.6 kB / 0.8018 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.03508, allocations: 87.97 kB / 0.8019 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.295e-05/0.03514, allocations: 21.47 kB / 0.8019 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.03517, allocations: 16.5 kB / 0.802 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.03517, allocations: 0 / 0.802 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.003763/0.03894, allocations: 1.742 MB / 0.8037 GB, free: 10.82 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.978511858731508]