Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001011/0.001011, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009545/0.0009545, allocations: 169.3 kB / 24.28 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.9287/0.9287, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.851/1.851, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.281e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01852/0.01854, allocations: 23.46 MB / 0.8345 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008744/0.02729, allocations: 6.599 MB / 0.8409 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.02847, allocations: 131 kB / 0.841 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.03058, allocations: 1.556 MB / 0.8425 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.03326, allocations: 1.978 MB / 0.8445 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.03528, allocations: 1.483 MB / 0.8459 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.04003, allocations: 7.032 MB / 0.8528 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.04373, allocations: 3.751 MB / 0.8565 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.04744, allocations: 4.038 MB / 0.8604 GB, free: 15.86 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.05058, allocations: 3.523 MB / 0.8638 GB, free: 12.33 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005403/0.05112, allocations: 0.5273 MB / 0.8644 GB, free: 11.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.05258, allocations: 1.131 MB / 0.8655 GB, free: 10.67 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.0542, allocations: 2.701 MB / 0.8681 GB, free: 7.961 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.05572, allocations: 1.774 MB / 0.8698 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.05926, allocations: 4.893 MB / 0.8746 GB, free: 1.277 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.05927, allocations: 0 / 0.8746 GB, free: 1.277 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.533e-06/0.05927, allocations: 0 / 0.8746 GB, free: 1.277 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.071e-05/0.05934, allocations: 4 kB / 0.8746 GB, free: 1.273 MB / 0.823 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.004527/0.06387, allocations: 4.734 MB / 0.8792 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.06391, allocations: 12.03 kB / 0.8792 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.06917, allocations: 2.225 MB / 0.8814 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.07181, allocations: 2.534 MB / 0.8839 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.07194, allocations: 275.7 kB / 0.8842 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.07233, allocations: 368.3 kB / 0.8845 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004701/0.07703, allocations: 4.124 MB / 0.8885 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.314e-05/0.07709, allocations: 20.02 kB / 0.8886 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.07738, allocations: 156.3 kB / 0.8887 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003668/0.07774, allocations: 495.3 kB / 0.8892 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.08071, allocations: 1.598 MB / 0.8907 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.09579, allocations: 21.27 MB / 0.9115 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.09691, allocations: 0.7784 MB / 0.9123 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.09803, allocations: 0.8265 MB / 0.9131 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.09814, allocations: 21.31 kB / 0.9131 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.09817, allocations: 54.7 kB / 0.9131 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=146): time 3.326e-06/0.09818, allocations: 0 / 0.9131 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of matching and sorting (n=251): time 0.03243/0.1306, allocations: 17.02 MB / 0.9298 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1306, allocations: 81.41 kB / 0.9299 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.132, allocations: 1.433 MB / 0.9313 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.1321, allocations: 65.7 kB / 0.9313 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007937/0.1329, allocations: 1.869 MB / 0.9331 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008115/0.1337, allocations: 0.9103 MB / 0.934 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.1344, allocations: 455.9 kB / 0.9345 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.1344, allocations: 480.7 kB / 0.9349 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.1357, allocations: 0.7313 MB / 0.9356 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.1372, allocations: 1.58 MB / 0.9372 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.1402, allocations: 2.522 MB / 0.9396 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1402, allocations: 4 kB / 0.9396 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01581/0.156, allocations: 8.578 MB / 0.948 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.1561, allocations: 12 kB / 0.948 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.1561, allocations: 20.16 kB / 0.9481 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/0.1718, allocations: 6.927 MB / 0.9548 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.1724, allocations: 295.5 kB / 0.9551 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/0.2042, allocations: 25.53 MB / 0.98 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.2055, allocations: 219.7 kB / 0.9802 GB, free: 2.398 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.2057, allocations: 104 kB / 0.9803 GB, free: 2.297 MB / 0.9323 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.0008929/0.2066, allocations: 304 kB / 0.9806 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/0.207, allocations: 326.5 kB / 0.9809 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/0.2227, allocations: 8.612 MB / 0.9893 GB, free: 8.988 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.2227, allocations: 24 kB / 0.9894 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.835e-05/0.2228, allocations: 48 kB / 0.9894 GB, free: 8.918 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.2229, allocations: 15.89 kB / 0.9894 GB, free: 8.902 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/0.2437, allocations: 12.4 MB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.2437, allocations: 8 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.2441, allocations: 159.8 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01565/0.2597, allocations: 6.739 MB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.2599, allocations: 48 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03165/0.2915, allocations: 25.42 MB / 1.033 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2915, allocations: 8 kB / 1.033 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.3068, allocations: 8.55 MB / 1.042 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.308, allocations: 0.7129 MB / 1.042 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.3082, allocations: 48 kB / 1.042 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.3093, allocations: 203.7 kB / 1.042 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.3103, allocations: 265.2 kB / 1.043 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.3104, allocations: 64 kB / 1.043 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007589/0.3112, allocations: 0.8219 MB / 1.044 GB, free: 308 kB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.3112, allocations: 0 / 1.044 GB, free: 308 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003079/0.3143, allocations: 1.617 MB / 1.045 GB, free: 14.68 MB / 1.01 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.0002822/0.3145, allocations: 166.9 kB / 1.045 GB, free: 14.51 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.3249, allocations: 6.783 MB / 1.052 GB, free: 7.621 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3249, allocations: 4 kB / 1.052 GB, free: 7.617 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008155/0.333, allocations: 5.564 MB / 1.057 GB, free: 1.945 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3347, allocations: 0.5374 MB / 1.058 GB, free: 1.418 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3005/0.6352, allocations: 7.502 MB / 1.065 GB, free: 263 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/0.6362, allocations: 1.297 MB / 1.066 GB, free: 262.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006236/0.6368, allocations: 317.4 kB / 1.067 GB, free: 262.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.637, allocations: 94.88 kB / 1.067 GB, free: 262.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.764e-06/0.637, allocations: 1 kB / 1.067 GB, free: 262.8 MB / 1.01 GB Notification: Performance of Templates: time 0.09156/0.7285, allocations: 100.2 MB / 1.165 GB, free: 208.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.763981166994199]