Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001006/0.001006, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001563/0.001563, allocations: 169 kB / 24.27 MB, free: 280 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.931/0.931, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.726/1.726, allocations: 359 MB / 0.6055 GB, free: 10.96 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.526e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02493/0.02496, allocations: 23.47 MB / 0.81 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008394/0.03335, allocations: 6.596 MB / 0.8165 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.03443, allocations: 127.9 kB / 0.8166 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.03648, allocations: 1.559 MB / 0.8181 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.03907, allocations: 1.989 MB / 0.8201 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.04107, allocations: 1.47 MB / 0.8215 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004294/0.04536, allocations: 7.02 MB / 0.8283 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.04882, allocations: 3.763 MB / 0.832 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.05206, allocations: 4.05 MB / 0.836 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.05482, allocations: 3.523 MB / 0.8394 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.05527, allocations: 0.5351 MB / 0.8399 GB, free: 6.469 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.05656, allocations: 1.127 MB / 0.841 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.05814, allocations: 2.697 MB / 0.8437 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.05945, allocations: 1.774 MB / 0.8454 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.06287, allocations: 4.897 MB / 0.8502 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.06288, allocations: 4 kB / 0.8502 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.863e-06/0.06288, allocations: 3.938 kB / 0.8502 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.333e-05/0.06293, allocations: 0 / 0.8502 GB, free: 11.94 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004279/0.06721, allocations: 4.73 MB / 0.8548 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.06725, allocations: 8.031 kB / 0.8548 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.07255, allocations: 2.225 MB / 0.857 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.07515, allocations: 2.534 MB / 0.8595 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.07528, allocations: 279.7 kB / 0.8597 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.07567, allocations: 360.3 kB / 0.8601 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/0.08039, allocations: 4.136 MB / 0.8641 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.047e-05/0.08045, allocations: 16.02 kB / 0.8641 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.08073, allocations: 168.3 kB / 0.8643 GB, free: 12.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/0.0811, allocations: 483.3 kB / 0.8648 GB, free: 12.51 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.08401, allocations: 1.594 MB / 0.8663 GB, free: 10.91 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.09861, allocations: 21.25 MB / 0.8871 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.09963, allocations: 0.7707 MB / 0.8878 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.1007, allocations: 0.8343 MB / 0.8886 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1008, allocations: 33.23 kB / 0.8887 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1008, allocations: 46.7 kB / 0.8887 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.056e-06/0.1008, allocations: 0 / 0.8887 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.03266/0.1335, allocations: 17.04 MB / 0.9054 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1335, allocations: 81.41 kB / 0.9054 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.1348, allocations: 1.441 MB / 0.9068 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.135, allocations: 65.7 kB / 0.9069 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008094/0.1358, allocations: 1.866 MB / 0.9087 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/0.1364, allocations: 0.9064 MB / 0.9096 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/0.137, allocations: 451.9 kB / 0.91 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.1371, allocations: 480.5 kB / 0.9105 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.1383, allocations: 0.7274 MB / 0.9112 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.14, allocations: 1.58 MB / 0.9128 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.143, allocations: 2.518 MB / 0.9152 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.143, allocations: 8 kB / 0.9152 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01562/0.1586, allocations: 8.585 MB / 0.9236 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.1586, allocations: 12 kB / 0.9236 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.1587, allocations: 16 kB / 0.9236 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/0.1746, allocations: 6.922 MB / 0.9304 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.1753, allocations: 299.5 kB / 0.9307 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03146/0.2068, allocations: 25.51 MB / 0.9556 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.2083, allocations: 223.7 kB / 0.9558 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.2085, allocations: 99.94 kB / 0.9559 GB, free: 13 MB / 0.9167 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009267/0.2094, allocations: 304 kB / 0.9562 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.2098, allocations: 330.5 kB / 0.9565 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.225, allocations: 8.608 MB / 0.9649 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.2251, allocations: 24 kB / 0.9649 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-05/0.2251, allocations: 47.94 kB / 0.965 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.2251, allocations: 15.89 kB / 0.965 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/0.2452, allocations: 12.42 MB / 0.9771 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.2452, allocations: 8 kB / 0.9771 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.2456, allocations: 163.7 kB / 0.9773 GB, free: 6.805 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01527/0.2608, allocations: 6.737 MB / 0.9839 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/0.261, allocations: 48.05 kB / 0.9839 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03048/0.2915, allocations: 25.41 MB / 1.009 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2915, allocations: 11.94 kB / 1.009 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/0.3066, allocations: 8.554 MB / 1.017 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.3077, allocations: 0.7051 MB / 1.018 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.308, allocations: 48 kB / 1.018 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.3091, allocations: 211.7 kB / 1.018 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/0.3101, allocations: 257.3 kB / 1.018 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.3102, allocations: 68 kB / 1.018 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007439/0.311, allocations: 0.8258 MB / 1.019 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.7e-07/0.311, allocations: 0 / 1.019 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003037/0.314, allocations: 1.617 MB / 1.021 GB, free: 9.375 MB / 0.9792 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.3143, allocations: 159.1 kB / 1.021 GB, free: 9.207 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009806/0.3241, allocations: 6.779 MB / 1.027 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3241, allocations: 0 / 1.027 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007708/0.3318, allocations: 5.585 MB / 1.033 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.3333, allocations: 0.5343 MB / 1.033 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008472/0.3417, allocations: 7.503 MB / 1.041 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.3429, allocations: 1.293 MB / 1.042 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005579/0.3434, allocations: 326.8 kB / 1.042 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.3436, allocations: 96.5 kB / 1.042 GB, free: 2.703 MB / 0.9948 GB Notification: Performance of SimCode: time 1.643e-06/0.3436, allocations: 0 / 1.042 GB, free: 2.703 MB / 0.9948 GB Notification: Performance of Templates: time 0.3902/0.7338, allocations: 100.2 MB / 1.14 GB, free: 255.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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: 6.837608955800533]