Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0009984/0.0009984, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001076/0.001076, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9877/0.9877, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.81/1.81, allocations: 359 MB / 0.6052 GB, free: 10.99 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_RL,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_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.7871 GB, free: 11.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.071e-05, allocations: 4.844 kB / 0.7871 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01894/0.01897, allocations: 15.5 MB / 0.8023 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.008647/0.02762, allocations: 4.496 MB / 0.8066 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.02904, allocations: 151.4 kB / 0.8068 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.03018, allocations: 0.6412 MB / 0.8074 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.03192, allocations: 1.449 MB / 0.8088 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.03351, allocations: 1.31 MB / 0.8101 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003877/0.03738, allocations: 6.185 MB / 0.8162 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.04066, allocations: 3.766 MB / 0.8198 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.04386, allocations: 3.706 MB / 0.8234 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.04672, allocations: 2.812 MB / 0.8262 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007353/0.04746, allocations: 0.5078 MB / 0.8267 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.04832, allocations: 0.6013 MB / 0.8273 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.0497, allocations: 2.225 MB / 0.8294 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.05137, allocations: 1.676 MB / 0.8311 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.05487, allocations: 4.121 MB / 0.8351 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.05488, allocations: 4.938 kB / 0.8351 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.173e-06/0.05488, allocations: 0 / 0.8351 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-05/0.05492, allocations: 0 / 0.8351 GB, free: 10.02 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004215/0.05914, allocations: 4.387 MB / 0.8394 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.05918, allocations: 12.02 kB / 0.8394 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.06168, allocations: 1.27 MB / 0.8407 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.06458, allocations: 2.516 MB / 0.8431 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.0647, allocations: 267.7 kB / 0.8434 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.06515, allocations: 384.8 kB / 0.8437 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.06929, allocations: 3.968 MB / 0.8476 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/0.06936, allocations: 23.77 kB / 0.8476 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.0696, allocations: 160 kB / 0.8478 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003382/0.06993, allocations: 282.8 kB / 0.8481 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.07272, allocations: 1.418 MB / 0.8494 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.08832, allocations: 19.81 MB / 0.8688 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.08905, allocations: 453.2 kB / 0.8692 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.08957, allocations: 410.3 kB / 0.8696 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.08963, allocations: 21 kB / 0.8696 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.08966, allocations: 54.33 kB / 0.8697 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 2.985e-06/0.08966, allocations: 0 / 0.8697 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.008305/0.09797, allocations: 4.89 MB / 0.8744 GB, free: 468 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.098, allocations: 64.72 kB / 0.8745 GB, free: 392 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.09907, allocations: 1.304 MB / 0.8758 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.09914, allocations: 45.7 kB / 0.8758 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000782/0.09992, allocations: 1.784 MB / 0.8776 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.1002, allocations: 499.8 kB / 0.878 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.1005, allocations: 333 kB / 0.8784 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1006, allocations: 484.7 kB / 0.8788 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.1011, allocations: 327.8 kB / 0.8791 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.1019, allocations: 1.097 MB / 0.8802 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.1035, allocations: 1.567 MB / 0.8817 GB, free: 8.262 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.1035, allocations: 4 kB / 0.8817 GB, free: 8.258 MB / 0.7917 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002896/0.1064, allocations: 1.992 MB / 0.8837 GB, free: 6.219 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1064, allocations: 12 kB / 0.8837 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.1064, allocations: 16 kB / 0.8837 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.1077, allocations: 0.5752 MB / 0.8843 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/0.1086, allocations: 387.3 kB / 0.8846 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.1171, allocations: 17.13 MB / 0.9014 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/0.1179, allocations: 103.8 kB / 0.9015 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.804e-05/0.118, allocations: 75.98 kB / 0.9015 GB, free: 2.789 MB / 0.8073 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008041/0.1188, allocations: 274.2 kB / 0.9018 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.119, allocations: 238.8 kB / 0.902 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.1212, allocations: 1.517 MB / 0.9035 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1212, allocations: 23.94 kB / 0.9035 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1212, allocations: 4.188 kB / 0.9035 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.1212, allocations: 11.97 kB / 0.9036 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/0.1267, allocations: 4.183 MB / 0.9076 GB, free: 12.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1267, allocations: 11.94 kB / 0.9077 GB, free: 12.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.1273, allocations: 227.7 kB / 0.9079 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.1285, allocations: 0.532 MB / 0.9084 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.1286, allocations: 36 kB / 0.9084 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00897/0.1375, allocations: 17.1 MB / 0.9251 GB, free: 9.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1375, allocations: 11.94 kB / 0.9251 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.1402, allocations: 2.06 MB / 0.9271 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.1407, allocations: 350.6 kB / 0.9275 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.1409, allocations: 35.98 kB / 0.9275 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.1413, allocations: 83.89 kB / 0.9276 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/0.1418, allocations: 124.5 kB / 0.9277 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.1419, allocations: 40 kB / 0.9277 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006699/0.1425, allocations: 0.7447 MB / 0.9285 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1425, allocations: 4 kB / 0.9285 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001714/0.1442, allocations: 0.6875 MB / 0.9292 GB, free: 4.984 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/0.1445, allocations: 154.2 kB / 0.9293 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.1471, allocations: 2.855 MB / 0.9321 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1471, allocations: 0.875 kB / 0.9321 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.1487, allocations: 2.274 MB / 0.9343 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.1505, allocations: 0.6326 MB / 0.9349 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007363/0.1579, allocations: 5.828 MB / 0.9406 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.1586, allocations: 0.9324 MB / 0.9415 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009977/0.1596, allocations: 404.4 kB / 0.9419 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.1598, allocations: 112.5 kB / 0.942 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/0.1598, allocations: 3.938 kB / 0.942 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of Templates: time 0.0727/0.2325, allocations: 33.98 MB / 0.9752 GB, free: 6.098 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 5.91569018131122]