Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001335/0.001335, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009635/0.0009635, allocations: 169 kB / 24.06 MB, free: 456 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.9915/0.9915, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.157/2.157, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.778e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01224/0.01227, allocations: 13.03 MB / 0.8921 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006581/0.01885, allocations: 3.853 MB / 0.8959 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.0205, allocations: 127 kB / 0.896 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.02179, allocations: 0.5469 MB / 0.8965 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.02423, allocations: 1.504 MB / 0.898 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.0263, allocations: 1.1 MB / 0.8991 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005683/0.03198, allocations: 5.966 MB / 0.9049 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.03587, allocations: 3.163 MB / 0.908 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.04037, allocations: 3.426 MB / 0.9114 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003713/0.04409, allocations: 2.934 MB / 0.9142 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007306/0.04482, allocations: 456 kB / 0.9147 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.04588, allocations: 0.5934 MB / 0.9152 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.0475, allocations: 2.21 MB / 0.9174 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.04946, allocations: 1.501 MB / 0.9189 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.0531, allocations: 3.868 MB / 0.9226 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.05311, allocations: 4 kB / 0.9226 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.404e-06/0.05311, allocations: 0 / 0.9226 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001218/0.05323, allocations: 4 kB / 0.9226 GB, free: 9.574 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00477/0.058, allocations: 4.015 MB / 0.9266 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.05804, allocations: 8.031 kB / 0.9266 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.06098, allocations: 1.192 MB / 0.9277 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.06341, allocations: 1.997 MB / 0.9297 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.06355, allocations: 246.3 kB / 0.9299 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.0639, allocations: 315.9 kB / 0.9302 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/0.06765, allocations: 3.339 MB / 0.9335 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-05/0.06772, allocations: 15.88 kB / 0.9335 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.06796, allocations: 139.9 kB / 0.9336 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003461/0.06831, allocations: 414.3 kB / 0.934 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.07018, allocations: 1.074 MB / 0.9351 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.08647, allocations: 18.77 MB / 0.9534 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.08711, allocations: 387.6 kB / 0.9538 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.08763, allocations: 458.5 kB / 0.9542 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/0.08771, allocations: 25 kB / 0.9542 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.08774, allocations: 46.39 kB / 0.9543 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 4.068e-06/0.08775, allocations: 0 / 0.9543 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179): time 0.01639/0.1041, allocations: 7.926 MB / 0.962 GB, free: 100 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1042, allocations: 73.41 kB / 0.9621 GB, free: 16 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1052, allocations: 1.23 MB / 0.9633 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.1054, allocations: 49.7 kB / 0.9633 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007608/0.1062, allocations: 1.663 MB / 0.965 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.1066, allocations: 0.6545 MB / 0.9656 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.1071, allocations: 373 kB / 0.966 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1072, allocations: 480.7 kB / 0.9664 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/0.1077, allocations: 387.8 kB / 0.9668 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.1086, allocations: 1.188 MB / 0.9679 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.1102, allocations: 1.752 MB / 0.9697 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.1102, allocations: 8 kB / 0.9697 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007185/0.1174, allocations: 4.061 MB / 0.9736 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.1175, allocations: 12 kB / 0.9736 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.1175, allocations: 20 kB / 0.9737 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00714/0.1246, allocations: 2.784 MB / 0.9764 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.1253, allocations: 275.6 kB / 0.9766 GB, free: 320 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.1431, allocations: 17.52 MB / 0.9937 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.1443, allocations: 56 kB / 0.9938 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.1444, allocations: 64 kB / 0.9939 GB, free: 14 MB / 0.9636 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008155/0.1452, allocations: 276.1 kB / 0.9941 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.1455, allocations: 266.7 kB / 0.9944 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006821/0.1524, allocations: 3.91 MB / 0.9982 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.1524, allocations: 23.94 kB / 0.9982 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.847e-05/0.1524, allocations: 28 kB / 0.9982 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.1524, allocations: 7.969 kB / 0.9983 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00998/0.1624, allocations: 6.074 MB / 1.004 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.1624, allocations: 8 kB / 1.004 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.1628, allocations: 135.8 kB / 1.004 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006948/0.1697, allocations: 2.681 MB / 1.007 GB, free: 340 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.1699, allocations: 39.94 kB / 1.007 GB, free: 300 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.1865, allocations: 17.43 MB / 1.024 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1865, allocations: 8 kB / 1.024 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/0.1933, allocations: 4.029 MB / 1.028 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007245/0.194, allocations: 426.5 kB / 1.028 GB, free: 9.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.1942, allocations: 39.95 kB / 1.028 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.1948, allocations: 36 kB / 1.028 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006107/0.1954, allocations: 180.8 kB / 1.029 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/0.1955, allocations: 39.94 kB / 1.029 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000526/0.196, allocations: 0.663 MB / 1.029 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.196, allocations: 0 / 1.029 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00235/0.1984, allocations: 1.121 MB / 1.03 GB, free: 7.48 MB / 0.9948 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002363/0.1986, allocations: 151 kB / 1.031 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005098/0.2037, allocations: 3.87 MB / 1.034 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2037, allocations: 4.125 kB / 1.034 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003907/0.2076, allocations: 3.105 MB / 1.037 GB, free: 128 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.2092, allocations: 0.5157 MB / 1.038 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007343/0.2165, allocations: 5.937 MB / 1.044 GB, free: 9.527 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/0.2175, allocations: 1.007 MB / 1.045 GB, free: 8.488 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005138/0.218, allocations: 191.8 kB / 1.045 GB, free: 8.297 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.2186, allocations: 453.9 kB / 1.045 GB, free: 7.852 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/0.2186, allocations: 0 / 1.045 GB, free: 7.852 MB / 1.01 GB Notification: Performance of Templates: time 0.4562/0.6748, allocations: 68.35 MB / 1.112 GB, free: 168.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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: 7.10575981112197]