Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001423/0.001423, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001555/0.001555, allocations: 169 kB / 24.28 MB, free: 280 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 1.029/1.029, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.837/1.837, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.79e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03048/0.03051, allocations: 33.71 MB / 0.8445 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02292/0.05343, allocations: 15.05 MB / 0.8592 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.05627, allocations: 210.5 kB / 0.8594 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005511/0.06178, allocations: 3.768 MB / 0.863 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.007274/0.06905, allocations: 3.078 MB / 0.866 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.0741, allocations: 2.361 MB / 0.8683 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00959/0.08369, allocations: 9.011 MB / 0.8771 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007816/0.09151, allocations: 5.523 MB / 0.8825 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.1015, allocations: 5.723 MB / 0.8881 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008811/0.1104, allocations: 3.897 MB / 0.8919 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002741/0.1131, allocations: 0.7109 MB / 0.8926 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.1199, allocations: 1.638 MB / 0.8942 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.006773/0.1266, allocations: 3.059 MB / 0.8972 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004005/0.1306, allocations: 2.39 MB / 0.8995 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00843/0.1391, allocations: 6.275 MB / 0.9057 GB, free: 200 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1391, allocations: 0 / 0.9057 GB, free: 200 kB / 0.8073 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1391, allocations: 4 kB / 0.9057 GB, free: 196 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003471/0.1394, allocations: 0 / 0.9057 GB, free: 196 kB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008958/0.1484, allocations: 6.292 MB / 0.9118 GB, free: 9.824 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1484, allocations: 8.031 kB / 0.9118 GB, free: 9.816 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/0.1533, allocations: 1.807 MB / 0.9136 GB, free: 8.004 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.1577, allocations: 3.417 MB / 0.9169 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.1579, allocations: 374.4 kB / 0.9173 GB, free: 4.133 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.1591, allocations: 0.5119 MB / 0.9178 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007238/0.1663, allocations: 5.307 MB / 0.923 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.1664, allocations: 31.75 kB / 0.923 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.1667, allocations: 216 kB / 0.9232 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006049/0.1673, allocations: 441.5 kB / 0.9236 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.1715, allocations: 1.896 MB / 0.9255 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.1928, allocations: 22.99 MB / 0.9479 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.1941, allocations: 0.9226 MB / 0.9488 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.1951, allocations: 0.7906 MB / 0.9496 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.1952, allocations: 30 kB / 0.9496 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1952, allocations: 63.33 kB / 0.9497 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=171): time 4.528e-06/0.1952, allocations: 0 / 0.9497 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=276): time 0.01675/0.212, allocations: 9.001 MB / 0.9585 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.212, allocations: 85.52 kB / 0.9586 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.2141, allocations: 1.849 MB / 0.9604 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.2142, allocations: 73.7 kB / 0.9604 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.2153, allocations: 2.408 MB / 0.9628 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.2159, allocations: 1.011 MB / 0.9638 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006173/0.2165, allocations: 0.517 MB / 0.9643 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2166, allocations: 484.7 kB / 0.9647 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.2177, allocations: 0.6577 MB / 0.9654 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.2195, allocations: 1.546 MB / 0.9669 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.2222, allocations: 2.432 MB / 0.9693 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.2222, allocations: 7.938 kB / 0.9693 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00747/0.2297, allocations: 4.238 MB / 0.9734 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.2297, allocations: 12 kB / 0.9734 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.2297, allocations: 16 kB / 0.9734 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/0.2362, allocations: 2.587 MB / 0.976 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2372, allocations: 407.3 kB / 0.9764 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.2582, allocations: 20.46 MB / 0.9963 GB, free: 416 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.2601, allocations: 167.8 kB / 0.9965 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.2603, allocations: 108 kB / 0.9966 GB, free: 140 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001281/0.2616, allocations: 320 kB / 0.9969 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006034/0.2622, allocations: 406 kB / 0.9973 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006577/0.2688, allocations: 3.864 MB / 1.001 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.2688, allocations: 31.98 kB / 1.001 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-05/0.2689, allocations: 31.94 kB / 1.001 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.2689, allocations: 19.89 kB / 1.001 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.282, allocations: 7.946 MB / 1.009 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.2821, allocations: 4 kB / 1.009 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.2826, allocations: 235.6 kB / 1.009 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005984/0.2886, allocations: 2.387 MB / 1.011 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.2888, allocations: 52 kB / 1.012 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4004/0.6891, allocations: 20.35 MB / 1.031 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.6891, allocations: 15.5 kB / 1.031 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007719/0.6969, allocations: 3.92 MB / 1.035 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.6989, allocations: 0.6516 MB / 1.036 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/0.6994, allocations: 53.64 kB / 1.036 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.7006, allocations: 168.4 kB / 1.036 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009487/0.7015, allocations: 268.2 kB / 1.036 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.7017, allocations: 74.97 kB / 1.036 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001608/0.7033, allocations: 1.074 MB / 1.037 GB, free: 198 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7033, allocations: 0 / 1.037 GB, free: 198 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003928/0.7072, allocations: 1.374 MB / 1.039 GB, free: 198 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003302/0.7076, allocations: 177.9 kB / 1.039 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00651/0.7141, allocations: 4.623 MB / 1.043 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.7141, allocations: 2.219 kB / 1.043 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.7186, allocations: 3.588 MB / 1.047 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.7221, allocations: 1.021 MB / 1.048 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.7354, allocations: 8.866 MB / 1.057 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.7372, allocations: 1.419 MB / 1.058 GB, free: 191.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001523/0.7387, allocations: 475.7 kB / 1.058 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.739, allocations: 144.4 kB / 1.059 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.074e-06/0.739, allocations: 0 / 1.059 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.07554/0.8145, allocations: 76.66 MB / 1.133 GB, free: 128.1 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.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: 7.034500686917454]