Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001125/0.001125, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001298/0.001298, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.9344/0.9344, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.711/1.711, allocations: 359 MB / 0.6063 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.303e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01377/0.01378, allocations: 19.83 MB / 0.8077 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.02521, allocations: 10.03 MB / 0.8175 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.02684, allocations: 210.4 kB / 0.8177 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.02826, allocations: 0.8569 MB / 0.8185 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.03196, allocations: 2.837 MB / 0.8213 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.03415, allocations: 1.825 MB / 0.8231 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006184/0.04033, allocations: 8.903 MB / 0.8318 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004859/0.04519, allocations: 5.398 MB / 0.837 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00523/0.05042, allocations: 5.688 MB / 0.8426 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.05379, allocations: 3.944 MB / 0.8465 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006569/0.05445, allocations: 0.7071 MB / 0.8471 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000957/0.0554, allocations: 0.8006 MB / 0.8479 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.05715, allocations: 3.04 MB / 0.8509 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.05904, allocations: 2.37 MB / 0.8532 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003932/0.06298, allocations: 5.734 MB / 0.8588 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.06298, allocations: 4 kB / 0.8588 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.575e-06/0.06298, allocations: 0 / 0.8588 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.008e-05/0.06304, allocations: 0 / 0.8588 GB, free: 3.762 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.005561/0.0686, allocations: 6.113 MB / 0.8648 GB, free: 13.58 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.06864, allocations: 16.02 kB / 0.8648 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.07177, allocations: 1.635 MB / 0.8664 GB, free: 11.92 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.07465, allocations: 3.079 MB / 0.8694 GB, free: 8.758 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.07482, allocations: 374.4 kB / 0.8698 GB, free: 8.391 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.0753, allocations: 0.5003 MB / 0.8702 GB, free: 7.891 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004298/0.0796, allocations: 4.959 MB / 0.8751 GB, free: 2.406 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-05/0.07969, allocations: 27.72 kB / 0.8751 GB, free: 2.379 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.08001, allocations: 216 kB / 0.8753 GB, free: 2.168 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/0.08048, allocations: 369.7 kB / 0.8757 GB, free: 1.805 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.08252, allocations: 1.495 MB / 0.8771 GB, free: 300 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.09714, allocations: 21.51 MB / 0.8981 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.09794, allocations: 0.7958 MB / 0.8989 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.09864, allocations: 0.6853 MB / 0.8996 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.783e-05/0.09872, allocations: 30 kB / 0.8996 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.09876, allocations: 63.39 kB / 0.8997 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=171): time 3.446e-06/0.09876, allocations: 0 / 0.8997 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=276): time 0.01269/0.1114, allocations: 7.776 MB / 0.9073 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1115, allocations: 81.58 kB / 0.9073 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1127, allocations: 1.816 MB / 0.9091 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.1128, allocations: 73.7 kB / 0.9092 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009796/0.1138, allocations: 2.431 MB / 0.9116 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/0.1143, allocations: 1.007 MB / 0.9125 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/0.1149, allocations: 0.5285 MB / 0.9131 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.115, allocations: 480.8 kB / 0.9135 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.1156, allocations: 0.4937 MB / 0.914 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.1166, allocations: 1.397 MB / 0.9154 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.1184, allocations: 2.134 MB / 0.9174 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.1184, allocations: 4 kB / 0.9175 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00533/0.1237, allocations: 3.832 MB / 0.9212 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1238, allocations: 14.53 kB / 0.9212 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.1238, allocations: 20 kB / 0.9212 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005409/0.1292, allocations: 2.52 MB / 0.9237 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/0.1299, allocations: 351.5 kB / 0.924 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.146, allocations: 19.5 MB / 0.9431 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.1473, allocations: 83.98 kB / 0.9431 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.1475, allocations: 84 kB / 0.9432 GB, free: 10.44 MB / 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.0009933/0.1485, allocations: 319.9 kB / 0.9435 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.1489, allocations: 398.1 kB / 0.9439 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.1538, allocations: 3.536 MB / 0.9474 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.1538, allocations: 28 kB / 0.9474 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.1539, allocations: 28 kB / 0.9474 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.1539, allocations: 11.95 kB / 0.9474 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008731/0.1626, allocations: 6.406 MB / 0.9537 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1626, allocations: 4 kB / 0.9537 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.163, allocations: 187.7 kB / 0.9539 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005301/0.1683, allocations: 2.332 MB / 0.9561 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.1684, allocations: 63.94 kB / 0.9562 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.1843, allocations: 19.33 MB / 0.9751 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.1843, allocations: 15.88 kB / 0.9751 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004824/0.1891, allocations: 3.603 MB / 0.9786 GB, free: 4.934 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.1899, allocations: 0.576 MB / 0.9792 GB, free: 4.355 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.1901, allocations: 55.95 kB / 0.9792 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/0.1908, allocations: 59.98 kB / 0.9793 GB, free: 4.242 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/0.1913, allocations: 269 kB / 0.9795 GB, free: 3.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.1914, allocations: 56 kB / 0.9796 GB, free: 3.926 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007063/0.1921, allocations: 0.9859 MB / 0.9806 GB, free: 2.93 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1921, allocations: 3.938 kB / 0.9806 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002579/0.1947, allocations: 1.371 MB / 0.9819 GB, free: 1.555 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.0002323/0.1949, allocations: 179 kB / 0.9821 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004498/0.1994, allocations: 4.305 MB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.1994, allocations: 7.938 kB / 0.9863 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003077/0.2025, allocations: 3.392 MB / 0.9896 GB, free: 9.418 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.2046, allocations: 1.017 MB / 0.9906 GB, free: 8.438 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009458/0.214, allocations: 8.834 MB / 0.9992 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.2152, allocations: 1.423 MB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007513/0.2159, allocations: 342.8 kB / 1.001 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.2172, allocations: 0.8647 MB / 1.002 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of SimCode: time 1.303e-06/0.2172, allocations: 0 / 1.002 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of Templates: time 0.3752/0.5924, allocations: 81.89 MB / 1.082 GB, free: 258.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 6.67388393683359]