Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001029/0.001029, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001876/0.001876, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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 1.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.849/1.849, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.536e-05, allocations: 8.094 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01042/0.01045, allocations: 11.86 MB / 0.8231 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006288/0.01674, allocations: 3.611 MB / 0.8267 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.01812, allocations: 112.4 kB / 0.8268 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.01932, allocations: 0.4926 MB / 0.8273 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.02164, allocations: 1.107 MB / 0.8283 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.02364, allocations: 1.014 MB / 0.8293 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004944/0.02858, allocations: 4.877 MB / 0.8341 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004651/0.03323, allocations: 3.132 MB / 0.8371 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.03724, allocations: 2.991 MB / 0.8401 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.04057, allocations: 2.344 MB / 0.8424 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0008157/0.04139, allocations: 432 kB / 0.8428 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.04228, allocations: 0.5038 MB / 0.8433 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.04365, allocations: 1.813 MB / 0.845 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.0457, allocations: 1.349 MB / 0.8464 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.0496, allocations: 3.366 MB / 0.8496 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.0496, allocations: 1.031 kB / 0.8496 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.503e-06/0.0496, allocations: 0 / 0.8496 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001531/0.04976, allocations: 0 / 0.8496 GB, free: 10.6 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004821/0.05458, allocations: 3.602 MB / 0.8532 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.05463, allocations: 8.031 kB / 0.8532 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.05711, allocations: 1.029 MB / 0.8542 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.05968, allocations: 1.96 MB / 0.8561 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.0598, allocations: 222.3 kB / 0.8563 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.06027, allocations: 300.4 kB / 0.8566 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.0642, allocations: 3.132 MB / 0.8596 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-05/0.06427, allocations: 20.08 kB / 0.8597 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.06447, allocations: 131.9 kB / 0.8598 GB, free: 15.76 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/0.06473, allocations: 233.7 kB / 0.86 GB, free: 15.53 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.06704, allocations: 1.134 MB / 0.8611 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.08225, allocations: 14.42 MB / 0.8752 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.08326, allocations: 0.5928 MB / 0.8758 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.08403, allocations: 430.4 kB / 0.8762 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.08409, allocations: 17 kB / 0.8762 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.08414, allocations: 54.38 kB / 0.8763 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 4.559e-06/0.08414, allocations: 4 kB / 0.8763 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.01111/0.09526, allocations: 4.444 MB / 0.8806 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.0953, allocations: 64.72 kB / 0.8807 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.09639, allocations: 0.9851 MB / 0.8816 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.09648, allocations: 53.7 kB / 0.8817 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.09725, allocations: 1.396 MB / 0.883 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/0.09767, allocations: 0.5075 MB / 0.8835 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/0.09811, allocations: 293.2 kB / 0.8838 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.09824, allocations: 484.7 kB / 0.8843 GB, free: 6.184 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008476/0.09909, allocations: 303.8 kB / 0.8846 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.1001, allocations: 0.8807 MB / 0.8854 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.1019, allocations: 1.317 MB / 0.8867 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.1019, allocations: 7.938 kB / 0.8867 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003917/0.1059, allocations: 1.935 MB / 0.8886 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.1059, allocations: 19.88 kB / 0.8886 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.1059, allocations: 16.16 kB / 0.8886 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.1085, allocations: 0.8699 MB / 0.8895 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.1093, allocations: 259.6 kB / 0.8897 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.12, allocations: 9.082 MB / 0.8986 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009752/0.121, allocations: 91.86 kB / 0.8987 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1211, allocations: 67.98 kB / 0.8988 GB, free: 6.496 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007467/0.1218, allocations: 244.2 kB / 0.899 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.1221, allocations: 199.1 kB / 0.8992 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.1254, allocations: 1.665 MB / 0.9008 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1254, allocations: 12 kB / 0.9008 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.1254, allocations: 12 kB / 0.9008 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1254, allocations: 11.97 kB / 0.9008 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.1318, allocations: 3.978 MB / 0.9047 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.1318, allocations: 7.938 kB / 0.9047 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.1321, allocations: 151.8 kB / 0.9049 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.1339, allocations: 0.8021 MB / 0.9057 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.134, allocations: 32 kB / 0.9057 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007775/0.1418, allocations: 9.05 MB / 0.9145 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.1418, allocations: 15.86 kB / 0.9145 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.1445, allocations: 1.871 MB / 0.9164 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.145, allocations: 326.8 kB / 0.9167 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.1451, allocations: 28 kB / 0.9167 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.1455, allocations: 79.89 kB / 0.9168 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.1458, allocations: 128.6 kB / 0.9169 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.1459, allocations: 48 kB / 0.917 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005839/0.1465, allocations: 0.5848 MB / 0.9175 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1465, allocations: 0 / 0.9175 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00156/0.148, allocations: 0.6641 MB / 0.9182 GB, free: 1.949 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002012/0.1482, allocations: 135.1 kB / 0.9183 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.151, allocations: 2.108 MB / 0.9204 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.151, allocations: 4 kB / 0.9204 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.1526, allocations: 1.564 MB / 0.9219 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.154, allocations: 487.5 kB / 0.9224 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.1608, allocations: 4.78 MB / 0.927 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.1616, allocations: 0.8116 MB / 0.9278 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006925/0.1623, allocations: 285.3 kB / 0.9281 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.1624, allocations: 84.5 kB / 0.9282 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of SimCode: time 1.552e-06/0.1624, allocations: 0 / 0.9282 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of Templates: time 0.04098/0.2034, allocations: 33.51 MB / 0.9609 GB, free: 6.59 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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: 5.78507293201983]