Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001311/0.001311, 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.001455/0.001455, 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.9134/0.9134, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.675/1.675, 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.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.288e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003684/0.003696, allocations: 4.057 MB / 0.7915 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.005419, allocations: 1.533 MB / 0.793 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.005615, allocations: 43.62 kB / 0.7931 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.006065, allocations: 186.6 kB / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.006497, allocations: 416.9 kB / 0.7936 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.006872, allocations: 361.6 kB / 0.794 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.007706, allocations: 1.136 MB / 0.7951 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.008188, allocations: 0.5061 MB / 0.7956 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.008673, allocations: 0.609 MB / 0.7962 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.009074, allocations: 451.8 kB / 0.7966 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.009133, allocations: 60.97 kB / 0.7967 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.009308, allocations: 135.8 kB / 0.7968 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.009479, allocations: 303.2 kB / 0.7971 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.009647, allocations: 268.2 kB / 0.7973 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.01012, allocations: 0.6617 MB / 0.798 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01012, allocations: 1.062 kB / 0.798 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.01012, allocations: 0 / 0.798 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.01013, allocations: 0 / 0.798 GB, free: 1.512 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0008491/0.01098, allocations: 1.055 MB / 0.799 GB, free: 432 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.01101, allocations: 12.56 kB / 0.799 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.01167, allocations: 284.4 kB / 0.7993 GB, free: 136 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.01215, allocations: 0.5174 MB / 0.7998 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.01218, allocations: 50.52 kB / 0.7999 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.01224, allocations: 64.36 kB / 0.7999 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.01284, allocations: 0.8572 MB / 0.8008 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.01286, allocations: 8.078 kB / 0.8008 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.0129, allocations: 32.36 kB / 0.8008 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.01295, allocations: 73.2 kB / 0.8009 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.01322, allocations: 280.9 kB / 0.8011 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.01573, allocations: 5.512 MB / 0.8065 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.01601, allocations: 233.8 kB / 0.8067 GB, free: 8.133 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.01629, allocations: 235.2 kB / 0.807 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.01632, allocations: 4 kB / 0.807 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.01634, allocations: 45.33 kB / 0.807 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.01634, allocations: 1.125 kB / 0.807 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001539/0.01788, allocations: 0.9649 MB / 0.8079 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.0179, allocations: 55.41 kB / 0.808 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.01813, allocations: 458.3 kB / 0.8084 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01815, allocations: 33.7 kB / 0.8085 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.01846, allocations: 454.6 kB / 0.8089 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.01853, allocations: 158.7 kB / 0.8091 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.01863, allocations: 123.9 kB / 0.8092 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01876, allocations: 0.539 MB / 0.8097 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.01884, allocations: 77.25 kB / 0.8098 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.01904, allocations: 388.7 kB / 0.8101 GB, free: 4.422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.01937, allocations: 0.5209 MB / 0.8107 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01938, allocations: 0 / 0.8107 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006804/0.02006, allocations: 0.6519 MB / 0.8113 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.02007, allocations: 10.03 kB / 0.8113 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.02008, allocations: 8 kB / 0.8113 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.02057, allocations: 254.5 kB / 0.8115 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.02071, allocations: 87.84 kB / 0.8116 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/0.02407, allocations: 7.581 MB / 0.819 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.02421, allocations: 16 kB / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.02423, allocations: 23.98 kB / 0.8191 GB, free: 10.65 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.02436, allocations: 204.4 kB / 0.8193 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.02441, allocations: 75.56 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.02498, allocations: 0.5086 MB / 0.8198 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02499, allocations: 4 kB / 0.8198 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.02499, allocations: 7.984 kB / 0.8198 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.025, allocations: 0 / 0.8198 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009627/0.02596, allocations: 0.9974 MB / 0.8208 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02596, allocations: 0 / 0.8208 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.02603, allocations: 39.92 kB / 0.8209 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.02648, allocations: 234.9 kB / 0.8211 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.0265, allocations: 12 kB / 0.8211 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.02979, allocations: 7.563 MB / 0.8285 GB, free: 436 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02979, allocations: 4 kB / 0.8285 GB, free: 432 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.03042, allocations: 0.6935 MB / 0.8292 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.03051, allocations: 87.5 kB / 0.8292 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.03054, allocations: 16 kB / 0.8293 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.03065, allocations: 8 kB / 0.8293 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.03071, allocations: 47.61 kB / 0.8293 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.03072, allocations: 8 kB / 0.8293 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002594/0.03098, allocations: 282.7 kB / 0.8296 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.03098, allocations: 0 / 0.8296 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004035/0.03138, allocations: 196 kB / 0.8298 GB, free: 15.04 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.686e-05/0.03148, allocations: 111.2 kB / 0.8299 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007554/0.03223, allocations: 1.113 MB / 0.831 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.03224, allocations: 0 / 0.831 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.03277, allocations: 0.9246 MB / 0.8319 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.03329, allocations: 189.4 kB / 0.8321 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.0346, allocations: 1.176 MB / 0.8332 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.03472, allocations: 202.2 kB / 0.8334 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.03485, allocations: 57.06 kB / 0.8335 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.03507, allocations: 202.1 kB / 0.8336 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of SimCode: time 7.81e-07/0.03507, allocations: 0 / 0.8336 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of Templates: time 0.0121/0.04717, allocations: 11.07 MB / 0.8445 GB, free: 15.97 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.7701369961723685]