Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001543/0.001543, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001911/0.001911, allocations: 161.4 kB / 24.16 MB, free: 332 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.9367/0.9367, allocations: 177.1 MB / 204.6 MB, free: 5.328 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.549e-05, allocations: 2.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003943/0.003959, allocations: 4.059 MB / 0.764 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.005879, allocations: 1.549 MB / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.006065, allocations: 32.94 kB / 0.7655 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.006506, allocations: 174.7 kB / 0.7657 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.006928, allocations: 369.5 kB / 0.766 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.007314, allocations: 325.6 kB / 0.7663 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.007971, allocations: 0.994 MB / 0.7673 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.008342, allocations: 415.1 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.008776, allocations: 0.519 MB / 0.7682 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.009164, allocations: 363.8 kB / 0.7686 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.009222, allocations: 48.75 kB / 0.7686 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.009402, allocations: 131.7 kB / 0.7687 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.009584, allocations: 263.9 kB / 0.769 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.009775, allocations: 239.4 kB / 0.7692 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.01033, allocations: 0.5883 MB / 0.7698 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.01033, allocations: 3 kB / 0.7698 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.864e-06/0.01033, allocations: 7.984 kB / 0.7698 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.01034, allocations: 0 / 0.7698 GB, free: 12.61 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009109/0.01125, allocations: 0.8369 MB / 0.7706 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.01129, allocations: 8.031 kB / 0.7706 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.01199, allocations: 232.3 kB / 0.7708 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.01257, allocations: 436.2 kB / 0.7713 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.0126, allocations: 36.16 kB / 0.7713 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.01273, allocations: 64.53 kB / 0.7714 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.01326, allocations: 0.6926 MB / 0.772 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.155e-05/0.01332, allocations: 8.141 kB / 0.772 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.01336, allocations: 32.11 kB / 0.7721 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-05/0.01346, allocations: 60.95 kB / 0.7721 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.01368, allocations: 201.4 kB / 0.7723 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.0157, allocations: 3.017 MB / 0.7753 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.01588, allocations: 168.9 kB / 0.7754 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.577e-05/0.01596, allocations: 74.42 kB / 0.7755 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01598, allocations: 12.22 kB / 0.7755 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.016, allocations: 34.84 kB / 0.7755 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.016, allocations: 0.9375 kB / 0.7755 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001564/0.01757, allocations: 0.9877 MB / 0.7765 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.01759, allocations: 59.34 kB / 0.7766 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.0178, allocations: 391 kB / 0.7769 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01782, allocations: 33.7 kB / 0.777 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01793, allocations: 309.4 kB / 0.7773 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.018, allocations: 130.8 kB / 0.7774 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.01809, allocations: 103.8 kB / 0.7775 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.01818, allocations: 362.6 kB / 0.7778 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.01825, allocations: 60.12 kB / 0.7779 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.01839, allocations: 227.4 kB / 0.7781 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.01864, allocations: 350.9 kB / 0.7784 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01864, allocations: 4 kB / 0.7784 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004641/0.0191, allocations: 421.3 kB / 0.7789 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01911, allocations: 8 kB / 0.7789 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01912, allocations: 5.125 kB / 0.7789 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.01948, allocations: 156.9 kB / 0.779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.01969, allocations: 99.83 kB / 0.7791 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.02112, allocations: 2.64 MB / 0.7817 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.02127, allocations: 17.12 kB / 0.7817 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.02129, allocations: 16 kB / 0.7817 GB, free: 15.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.02141, allocations: 142.5 kB / 0.7819 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.02146, allocations: 43.95 kB / 0.7819 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.02184, allocations: 336.2 kB / 0.7822 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.02185, allocations: 4 kB / 0.7822 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.02185, allocations: 1.531 kB / 0.7822 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.02185, allocations: 0 / 0.7822 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.02254, allocations: 0.6908 MB / 0.7829 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.02254, allocations: 1.906 kB / 0.7829 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.02267, allocations: 47.92 kB / 0.7829 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/0.023, allocations: 148.4 kB / 0.7831 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.02302, allocations: 11.94 kB / 0.7831 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.02441, allocations: 2.64 MB / 0.7857 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02441, allocations: 3.938 kB / 0.7857 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.02491, allocations: 0.5226 MB / 0.7862 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.02501, allocations: 67.58 kB / 0.7863 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.02505, allocations: 13.44 kB / 0.7863 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.02516, allocations: 8 kB / 0.7863 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.02521, allocations: 31.89 kB / 0.7863 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.02523, allocations: 4 kB / 0.7863 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001044/0.02533, allocations: 165.2 kB / 0.7865 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.02533, allocations: 0 / 0.7865 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003405/0.02567, allocations: 157.4 kB / 0.7866 GB, free: 10.4 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.189e-05/0.02576, allocations: 81.48 kB / 0.7867 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.02625, allocations: 0.5135 MB / 0.7872 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.02626, allocations: 8 kB / 0.7872 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.02653, allocations: 392.7 kB / 0.7876 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.02695, allocations: 167.4 kB / 0.7877 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02824, allocations: 1.061 MB / 0.7888 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02836, allocations: 170.8 kB / 0.7889 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.02852, allocations: 64.09 kB / 0.789 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.02875, allocations: 169.3 kB / 0.7892 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.02875, allocations: 0 / 0.7892 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.01021/0.03896, allocations: 8.547 MB / 0.7975 GB, free: 15.37 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.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.985321749001741]