Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0015/0.0015, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001523/0.001523, allocations: 173 kB / 23.49 MB, free: 1.059 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.9973/0.9973, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.107/2.107, allocations: 429.5 MB / 0.6736 GB, free: 4.074 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8782 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.481e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003226/0.003241, allocations: 3.187 MB / 0.8813 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.004748, allocations: 1.364 MB / 0.8826 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.004887, allocations: 7.938 kB / 0.8826 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.005607, allocations: 340.8 kB / 0.8829 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.005904, allocations: 151.7 kB / 0.8831 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.006166, allocations: 141.8 kB / 0.8832 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.006448, allocations: 310.9 kB / 0.8835 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.006778, allocations: 188.6 kB / 0.8837 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.006947, allocations: 171.6 kB / 0.8839 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.007198, allocations: 129.1 kB / 0.884 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.007225, allocations: 16 kB / 0.884 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.007426, allocations: 159.5 kB / 0.8841 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.007502, allocations: 90.84 kB / 0.8842 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.007574, allocations: 79.83 kB / 0.8843 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.007886, allocations: 259.1 kB / 0.8846 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.007889, allocations: 4 kB / 0.8846 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.007889, allocations: 0 / 0.8846 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.007893, allocations: 0 / 0.8846 GB, free: 15.01 MB / 0.8073 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.0005469/0.00844, allocations: 0.5505 MB / 0.8851 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.008476, allocations: 8.688 kB / 0.8851 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.008879, allocations: 114.3 kB / 0.8852 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.009089, allocations: 189.6 kB / 0.8854 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.009103, allocations: 12.75 kB / 0.8854 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.009126, allocations: 16.38 kB / 0.8854 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.009417, allocations: 306.3 kB / 0.8857 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.009426, allocations: 4.172 kB / 0.8857 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.009445, allocations: 8.375 kB / 0.8857 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.009474, allocations: 16.31 kB / 0.8857 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.009607, allocations: 88.75 kB / 0.8858 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.01049, allocations: 1.244 MB / 0.887 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.01064, allocations: 75.05 kB / 0.8871 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.01067, allocations: 19.69 kB / 0.8871 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.01068, allocations: 0 / 0.8871 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.01071, allocations: 45.33 kB / 0.8872 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.01071, allocations: 0 / 0.8872 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002773/0.01099, allocations: 113.3 kB / 0.8873 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.01101, allocations: 59.41 kB / 0.8873 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01115, allocations: 234.6 kB / 0.8876 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.01116, allocations: 25.7 kB / 0.8876 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.01124, allocations: 222.6 kB / 0.8878 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.01126, allocations: 19.86 kB / 0.8878 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.0113, allocations: 47.31 kB / 0.8879 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01142, allocations: 0.4923 MB / 0.8883 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.01146, allocations: 19.98 kB / 0.8884 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.01153, allocations: 118.1 kB / 0.8885 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.01164, allocations: 144.7 kB / 0.8886 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01164, allocations: 0 / 0.8886 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001899/0.01183, allocations: 161.1 kB / 0.8888 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01184, allocations: 8 kB / 0.8888 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01185, allocations: 0 / 0.8888 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.01202, allocations: 35.66 kB / 0.8888 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.01208, allocations: 27.94 kB / 0.8888 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000801/0.01288, allocations: 1.744 MB / 0.8905 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.01295, allocations: 19.84 kB / 0.8906 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01296, allocations: 8 kB / 0.8906 GB, free: 8.363 MB / 0.8073 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 8.072e-05/0.01304, allocations: 164.5 kB / 0.8907 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.01306, allocations: 11.95 kB / 0.8907 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.01308, allocations: 21.66 kB / 0.8908 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01308, allocations: 11.97 kB / 0.8908 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01308, allocations: 3.984 kB / 0.8908 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01309, allocations: 0 / 0.8908 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.01338, allocations: 404.9 kB / 0.8912 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01339, allocations: 3.938 kB / 0.8912 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.0134, allocations: 8 kB / 0.8912 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-05/0.0135, allocations: 35.66 kB / 0.8912 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01351, allocations: 0 / 0.8912 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006628/0.01417, allocations: 1.728 MB / 0.8929 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01417, allocations: 0 / 0.8929 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.01432, allocations: 247.8 kB / 0.8931 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.01434, allocations: 19.83 kB / 0.8931 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.01435, allocations: 4.125 kB / 0.8931 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.01441, allocations: 11.94 kB / 0.8932 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.01442, allocations: 7.984 kB / 0.8932 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.01443, allocations: 0 / 0.8932 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.282e-05/0.0145, allocations: 168.7 kB / 0.8933 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0145, allocations: 0 / 0.8933 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002065/0.01471, allocations: 51.89 kB / 0.8934 GB, free: 5.277 MB / 0.8073 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 7.003e-05/0.01478, allocations: 95.25 kB / 0.8935 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.01504, allocations: 255.4 kB / 0.8937 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01504, allocations: 0 / 0.8937 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.01514, allocations: 197.5 kB / 0.8939 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01538, allocations: 34.56 kB / 0.8939 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/0.01614, allocations: 347.1 kB / 0.8943 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.254e-05/0.01622, allocations: 91.95 kB / 0.8944 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.01629, allocations: 21.47 kB / 0.8944 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.01632, allocations: 16.5 kB / 0.8944 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of SimCode: time 1.613e-06/0.01632, allocations: 0 / 0.8944 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of Templates: time 0.00356/0.01988, allocations: 1.672 MB / 0.896 GB, free: 2.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.42032136884518]