Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001416/0.001416, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001891/0.001891, allocations: 165 kB / 23.82 MB, free: 0.7383 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.9702/0.9702, allocations: 177.1 MB / 204.2 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.898/1.898, allocations: 377.8 MB / 0.6236 GB, free: 8.52 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,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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.384e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01251/0.01253, allocations: 15.49 MB / 0.8267 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006702/0.01923, allocations: 4.507 MB / 0.8311 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007643/0.02, allocations: 150.9 kB / 0.8312 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.02103, allocations: 0.6348 MB / 0.8319 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.02261, allocations: 1.459 MB / 0.8333 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.02413, allocations: 1.314 MB / 0.8346 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.02834, allocations: 6.173 MB / 0.8406 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.03148, allocations: 3.777 MB / 0.8443 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.0349, allocations: 3.706 MB / 0.8479 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.03742, allocations: 2.808 MB / 0.8506 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0005293/0.03795, allocations: 0.5078 MB / 0.8511 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.03919, allocations: 0.6079 MB / 0.8517 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.04055, allocations: 2.225 MB / 0.8539 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.0419, allocations: 1.676 MB / 0.8555 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.0453, allocations: 4.125 MB / 0.8596 GB, free: 384 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.04531, allocations: 4 kB / 0.8596 GB, free: 380 kB / 0.8073 GB Notification: Performance of FrontEnd: time 1.163e-06/0.04531, allocations: 0 / 0.8596 GB, free: 380 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.376e-05/0.04536, allocations: 0 / 0.8596 GB, free: 380 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004417/0.04978, allocations: 4.387 MB / 0.8639 GB, free: 11.92 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.04982, allocations: 8.031 kB / 0.8639 GB, free: 11.91 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.05239, allocations: 1.266 MB / 0.8651 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.05563, allocations: 2.516 MB / 0.8676 GB, free: 8.062 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.05576, allocations: 275.6 kB / 0.8678 GB, free: 7.793 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/0.05621, allocations: 380.8 kB / 0.8682 GB, free: 7.422 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.06043, allocations: 3.968 MB / 0.8721 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-05/0.06049, allocations: 23.77 kB / 0.8721 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.06073, allocations: 160 kB / 0.8722 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005485/0.06128, allocations: 282.9 kB / 0.8725 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.06377, allocations: 1.414 MB / 0.8739 GB, free: 1.125 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.07702, allocations: 19.8 MB / 0.8932 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.07791, allocations: 461.4 kB / 0.8937 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.07841, allocations: 407 kB / 0.8941 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.07847, allocations: 21 kB / 0.8941 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.0785, allocations: 46.39 kB / 0.8941 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 2.695e-06/0.0785, allocations: 3.938 kB / 0.8941 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.008002/0.08651, allocations: 4.886 MB / 0.8989 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.08654, allocations: 68.7 kB / 0.899 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.08761, allocations: 1.308 MB / 0.9002 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.08768, allocations: 45.7 kB / 0.9003 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.0888, allocations: 1.784 MB / 0.902 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.08907, allocations: 491.9 kB / 0.9025 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.0894, allocations: 333 kB / 0.9028 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.08949, allocations: 484.7 kB / 0.9033 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.08998, allocations: 327.8 kB / 0.9036 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008461/0.09082, allocations: 1.109 MB / 0.9047 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.09223, allocations: 1.563 MB / 0.9062 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.09224, allocations: 4 kB / 0.9062 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002872/0.09511, allocations: 1.984 MB / 0.9081 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.09513, allocations: 12 kB / 0.9081 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.09514, allocations: 16 kB / 0.9082 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.09642, allocations: 0.575 MB / 0.9087 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.09725, allocations: 387.3 kB / 0.9091 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008993/0.1062, allocations: 17.12 MB / 0.9258 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.1069, allocations: 111.8 kB / 0.9259 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.107, allocations: 72 kB / 0.926 GB, free: 9.156 MB / 0.8855 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.0006221/0.1076, allocations: 268 kB / 0.9262 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.1078, allocations: 242.8 kB / 0.9265 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.1099, allocations: 1.521 MB / 0.928 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002493/0.1101, allocations: 16.14 kB / 0.928 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1102, allocations: 4 kB / 0.928 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1102, allocations: 19.91 kB / 0.928 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/0.1151, allocations: 4.179 MB / 0.9321 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1151, allocations: 12.12 kB / 0.9321 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.1157, allocations: 227.7 kB / 0.9323 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.1172, allocations: 0.5397 MB / 0.9328 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.1173, allocations: 28 kB / 0.9329 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.1368, allocations: 17.1 MB / 0.9496 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.1368, allocations: 11.94 kB / 0.9496 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009363/0.1461, allocations: 2.068 MB / 0.9516 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.1467, allocations: 346.7 kB / 0.9519 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.1469, allocations: 35.95 kB / 0.952 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.1475, allocations: 83.89 kB / 0.952 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.1478, allocations: 128.5 kB / 0.9522 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.1478, allocations: 36 kB / 0.9522 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008425/0.1487, allocations: 0.7447 MB / 0.9529 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.1487, allocations: 4 kB / 0.9529 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004946/0.1536, allocations: 0.6914 MB / 0.9536 GB, free: 11.34 MB / 0.9167 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.0002131/0.1538, allocations: 143 kB / 0.9537 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006468/0.1603, allocations: 2.863 MB / 0.9565 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1603, allocations: 0 / 0.9565 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004984/0.1653, allocations: 2.267 MB / 0.9587 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/0.1702, allocations: 0.6401 MB / 0.9594 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.1836, allocations: 5.833 MB / 0.9651 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.1843, allocations: 0.9285 MB / 0.966 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006986/0.185, allocations: 396.4 kB / 0.9664 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.1852, allocations: 112.5 kB / 0.9665 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of SimCode: time 1.903e-06/0.1852, allocations: 0 / 0.9665 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of Templates: time 0.03804/0.2232, allocations: 33.99 MB / 0.9996 GB, free: 12.46 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.944531847257167]