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.001108/0.001108, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001015/0.001015, allocations: 185 kB / 24.09 MB, free: 412 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 0.95/0.95, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.861/1.861, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.664e-06/1.664e-06, allocations: 0 / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.737e-05, allocations: 2.312 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01817/0.0182, allocations: 15.08 MB / 0.8268 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.0285, allocations: 4.493 MB / 0.8311 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.03099, allocations: 154.8 kB / 0.8313 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.03274, allocations: 0.6321 MB / 0.8319 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.03487, allocations: 1.467 MB / 0.8333 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.03691, allocations: 1.311 MB / 0.8346 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004267/0.04118, allocations: 6.172 MB / 0.8406 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.0443, allocations: 3.783 MB / 0.8443 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.04767, allocations: 3.704 MB / 0.848 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.05005, allocations: 2.86 MB / 0.8508 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.05049, allocations: 0.5078 MB / 0.8513 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007262/0.05122, allocations: 0.6052 MB / 0.8518 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.05286, allocations: 2.223 MB / 0.854 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.05402, allocations: 1.665 MB / 0.8556 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.05665, allocations: 4.114 MB / 0.8597 GB, free: 500 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.05665, allocations: 0 / 0.8597 GB, free: 500 kB / 0.8073 GB Notification: Performance of FrontEnd: time 1.132e-06/0.05665, allocations: 2.875 kB / 0.8597 GB, free: 500 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.259e-05/0.05669, allocations: 0 / 0.8597 GB, free: 500 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.00438/0.06107, allocations: 4.377 MB / 0.8639 GB, free: 12.05 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.06111, allocations: 12.03 kB / 0.8639 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.06312, allocations: 1.102 MB / 0.865 GB, free: 10.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.06554, allocations: 2.243 MB / 0.8672 GB, free: 8.637 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.06567, allocations: 275.6 kB / 0.8675 GB, free: 8.367 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/0.06608, allocations: 388.8 kB / 0.8678 GB, free: 7.988 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.06918, allocations: 3.721 MB / 0.8715 GB, free: 3.816 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/0.06925, allocations: 23.8 kB / 0.8715 GB, free: 3.793 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.06948, allocations: 160 kB / 0.8717 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002855/0.06976, allocations: 270.9 kB / 0.8719 GB, free: 3.371 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.07128, allocations: 1.121 MB / 0.873 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.08316, allocations: 18.88 MB / 0.8914 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.0836, allocations: 369.2 kB / 0.8918 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.08395, allocations: 357.6 kB / 0.8921 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.084, allocations: 21 kB / 0.8922 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.08403, allocations: 50.39 kB / 0.8922 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 2.435e-06/0.08403, allocations: 0 / 0.8922 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.006708/0.09074, allocations: 4.19 MB / 0.8963 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.09077, allocations: 64.72 kB / 0.8964 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/0.09159, allocations: 1.288 MB / 0.8976 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.09165, allocations: 53.7 kB / 0.8977 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.09239, allocations: 1.776 MB / 0.8994 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.09264, allocations: 0.4919 MB / 0.8999 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.09295, allocations: 340.9 kB / 0.9002 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.09305, allocations: 480.8 kB / 0.9007 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.09336, allocations: 247.8 kB / 0.9009 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009278/0.09429, allocations: 1.034 MB / 0.9019 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.09535, allocations: 1.422 MB / 0.9033 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.09535, allocations: 8 kB / 0.9033 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002091/0.09744, allocations: 1.805 MB / 0.9051 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.09747, allocations: 12 kB / 0.9051 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.09748, allocations: 16 kB / 0.9051 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.09873, allocations: 0.5981 MB / 0.9057 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.09938, allocations: 335.5 kB / 0.906 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/0.1075, allocations: 16.85 MB / 0.9225 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.1079, allocations: 52 kB / 0.9225 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.108, allocations: 60.19 kB / 0.9226 GB, free: 12.97 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.0007883/0.1088, allocations: 276 kB / 0.9228 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.109, allocations: 238.8 kB / 0.9231 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.1107, allocations: 1.38 MB / 0.9244 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1107, allocations: 19.98 kB / 0.9244 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1107, allocations: 8 kB / 0.9244 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1107, allocations: 7.969 kB / 0.9244 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.1144, allocations: 3.277 MB / 0.9276 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1144, allocations: 7.938 kB / 0.9276 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.1149, allocations: 180.5 kB / 0.9278 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.116, allocations: 0.5513 MB / 0.9284 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.1161, allocations: 35.98 kB / 0.9284 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008043/0.1241, allocations: 16.8 MB / 0.9448 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1241, allocations: 7.938 kB / 0.9448 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.1261, allocations: 1.884 MB / 0.9466 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.1265, allocations: 330.6 kB / 0.947 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.1266, allocations: 36 kB / 0.947 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.1269, allocations: 27.94 kB / 0.947 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.1271, allocations: 120.6 kB / 0.9471 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.1271, allocations: 40 kB / 0.9472 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004587/0.1276, allocations: 0.6936 MB / 0.9479 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1276, allocations: 0 / 0.9479 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001319/0.1289, allocations: 0.6953 MB / 0.9485 GB, free: 0.9336 MB / 0.9011 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.0002233/0.1291, allocations: 151 kB / 0.9487 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.1314, allocations: 2.734 MB / 0.9513 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1314, allocations: 0 / 0.9513 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.1327, allocations: 2.204 MB / 0.9535 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.134, allocations: 0.636 MB / 0.9541 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.1398, allocations: 5.826 MB / 0.9598 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.1406, allocations: 0.9363 MB / 0.9607 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004985/0.1411, allocations: 248.7 kB / 0.961 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/0.1419, allocations: 0.5838 MB / 0.9615 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.1419, allocations: 4 kB / 0.9615 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of Templates: time 0.04186/0.1837, allocations: 36.59 MB / 0.9973 GB, free: 15.34 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.498026680666953]