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.0007813/0.0007813, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0008815/0.0008815, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9296/0.9296, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.281/2.281, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.663e-06/1.663e-06, allocations: 0 / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.165e-05, allocations: 9.266 kB / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00275/0.002771, allocations: 2.553 MB / 0.8922 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003956, allocations: 0.9816 MB / 0.8932 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.004061, allocations: 15.88 kB / 0.8932 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.004433, allocations: 95.44 kB / 0.8933 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.004647, allocations: 143.1 kB / 0.8934 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.00481, allocations: 107.7 kB / 0.8935 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.005055, allocations: 314.8 kB / 0.8938 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.005317, allocations: 180.7 kB / 0.894 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.005467, allocations: 179.5 kB / 0.8942 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.005673, allocations: 123.7 kB / 0.8943 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.005701, allocations: 24 kB / 0.8943 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.005827, allocations: 95.7 kB / 0.8944 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.005892, allocations: 79.81 kB / 0.8945 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.00595, allocations: 83.83 kB / 0.8945 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.006185, allocations: 231.1 kB / 0.8948 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006187, allocations: 4 kB / 0.8948 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006188, allocations: 0 / 0.8948 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.006191, allocations: 0 / 0.8948 GB, free: 4.613 MB / 0.8542 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.0004636/0.006655, allocations: 0.5347 MB / 0.8953 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.006687, allocations: 12.62 kB / 0.8953 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.007013, allocations: 108.6 kB / 0.8954 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.007182, allocations: 188.2 kB / 0.8956 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.007195, allocations: 16.75 kB / 0.8956 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.007213, allocations: 20.36 kB / 0.8956 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.007432, allocations: 282.3 kB / 0.8959 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007442, allocations: 8.125 kB / 0.8959 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.007458, allocations: 16.34 kB / 0.8959 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.007482, allocations: 20.31 kB / 0.8959 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.007563, allocations: 68.75 kB / 0.896 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.008305, allocations: 1.232 MB / 0.8972 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.008412, allocations: 67 kB / 0.8973 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.008436, allocations: 23.66 kB / 0.8973 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.008441, allocations: 0 / 0.8973 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.008464, allocations: 45.33 kB / 0.8973 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.008465, allocations: 0 / 0.8973 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002194/0.008685, allocations: 101.4 kB / 0.8974 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.008707, allocations: 55.34 kB / 0.8975 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.008817, allocations: 249.7 kB / 0.8977 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.008828, allocations: 25.7 kB / 0.8977 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.008904, allocations: 214.7 kB / 0.8979 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.008919, allocations: 31.73 kB / 0.898 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.008962, allocations: 39.36 kB / 0.898 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.009071, allocations: 0.4962 MB / 0.8985 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.009088, allocations: 11.98 kB / 0.8985 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.009148, allocations: 112.8 kB / 0.8986 GB, free: 356 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.009235, allocations: 132.7 kB / 0.8987 GB, free: 180 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009236, allocations: 3.938 kB / 0.8987 GB, free: 176 kB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001443/0.00938, allocations: 153.1 kB / 0.8989 GB, free: 12 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.009391, allocations: 10.19 kB / 0.8989 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.009395, allocations: 0 / 0.8989 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.009529, allocations: 35.66 kB / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.009585, allocations: 27.92 kB / 0.899 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006979/0.01028, allocations: 1.725 MB / 0.9006 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.01034, allocations: 19.89 kB / 0.9007 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.01035, allocations: 4 kB / 0.9007 GB, free: 14.07 MB / 0.8698 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 7.634e-05/0.01042, allocations: 164.5 kB / 0.9008 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.01045, allocations: 19.91 kB / 0.9008 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.01046, allocations: 17.45 kB / 0.9009 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.01046, allocations: 8.062 kB / 0.9009 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01046, allocations: 3.938 kB / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.01046, allocations: 0 / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.0107, allocations: 345.7 kB / 0.9012 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0107, allocations: 0 / 0.9012 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.01072, allocations: 16 kB / 0.9012 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.45e-05/0.01081, allocations: 43.59 kB / 0.9013 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.01081, allocations: 3.938 kB / 0.9013 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005827/0.01139, allocations: 1.706 MB / 0.9029 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01139, allocations: 4 kB / 0.9029 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.01151, allocations: 235.5 kB / 0.9032 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01153, allocations: 11.95 kB / 0.9032 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.01154, allocations: 4.125 kB / 0.9032 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.01159, allocations: 7.984 kB / 0.9032 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.0116, allocations: 11.92 kB / 0.9032 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.0116, allocations: 0 / 0.9032 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.01166, allocations: 168.2 kB / 0.9034 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01166, allocations: 0 / 0.9034 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001885/0.01185, allocations: 59.78 kB / 0.9034 GB, free: 11.08 MB / 0.8698 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 6.73e-05/0.01192, allocations: 91.25 kB / 0.9035 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.0121, allocations: 241.8 kB / 0.9037 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01211, allocations: 4 kB / 0.9037 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.01218, allocations: 189.5 kB / 0.9039 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.01239, allocations: 36.06 kB / 0.9039 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.01293, allocations: 363.1 kB / 0.9043 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01298, allocations: 83.97 kB / 0.9044 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.01302, allocations: 13.48 kB / 0.9044 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.0131, allocations: 102.2 kB / 0.9045 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.0131, allocations: 0 / 0.9045 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of Templates: time 0.003154/0.01625, allocations: 1.791 MB / 0.9062 GB, free: 8.125 MB / 0.8698 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: 4.980159787926823]