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.0009514/0.0009514, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009446/0.0009446, allocations: 169 kB / 23.82 MB, free: 0.7461 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.93/0.93, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.871/1.871, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.382e-06/1.382e-06, allocations: 0 / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.937e-05, allocations: 3.531 kB / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01053/0.01055, allocations: 14.04 MB / 0.8253 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.01564, allocations: 4.145 MB / 0.8293 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.01632, allocations: 127.1 kB / 0.8294 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.01722, allocations: 0.5818 MB / 0.83 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.01896, allocations: 1.716 MB / 0.8317 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.0203, allocations: 1.221 MB / 0.8329 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004451/0.02475, allocations: 6.923 MB / 0.8396 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.0281, allocations: 3.603 MB / 0.8432 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.03138, allocations: 3.993 MB / 0.847 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/0.03535, allocations: 3.532 MB / 0.8505 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0008613/0.03621, allocations: 0.5273 MB / 0.851 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.0374, allocations: 0.6754 MB / 0.8517 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00187/0.03927, allocations: 2.701 MB / 0.8543 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.04103, allocations: 1.774 MB / 0.856 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.04433, allocations: 4.608 MB / 0.8605 GB, free: 15.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.04433, allocations: 0 / 0.8605 GB, free: 15.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.363e-06/0.04433, allocations: 0 / 0.8605 GB, free: 15.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.583e-05/0.04439, allocations: 0 / 0.8605 GB, free: 15.4 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.004342/0.04873, allocations: 4.676 MB / 0.8651 GB, free: 10.66 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.04877, allocations: 8.031 kB / 0.8651 GB, free: 10.65 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.05341, allocations: 2.225 MB / 0.8673 GB, free: 8.422 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.05656, allocations: 2.534 MB / 0.8698 GB, free: 5.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.05673, allocations: 275.7 kB / 0.87 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006441/0.05737, allocations: 364.2 kB / 0.8704 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005376/0.06275, allocations: 4.132 MB / 0.8744 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/0.06281, allocations: 12.08 kB / 0.8744 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.06309, allocations: 160.3 kB / 0.8746 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003795/0.06347, allocations: 487.3 kB / 0.875 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.06675, allocations: 1.602 MB / 0.8766 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.08528, allocations: 21.27 MB / 0.8974 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.08639, allocations: 0.7823 MB / 0.8981 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.08754, allocations: 0.8303 MB / 0.8989 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.08766, allocations: 25.31 kB / 0.899 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.08769, allocations: 50.7 kB / 0.899 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/0.08769, allocations: 4 kB / 0.899 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.03447/0.1222, allocations: 17.03 MB / 0.9157 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.1222, allocations: 77.41 kB / 0.9157 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.1241, allocations: 1.445 MB / 0.9171 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003782/0.1245, allocations: 65.7 kB / 0.9172 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008812/0.1254, allocations: 1.865 MB / 0.919 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/0.126, allocations: 0.9025 MB / 0.9199 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006963/0.1267, allocations: 451.9 kB / 0.9203 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1268, allocations: 480.7 kB / 0.9208 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.1282, allocations: 0.7313 MB / 0.9215 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.1298, allocations: 1.572 MB / 0.923 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.133, allocations: 2.53 MB / 0.9255 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.133, allocations: 4 kB / 0.9255 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01647/0.1494, allocations: 8.585 MB / 0.9339 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.1495, allocations: 12 kB / 0.9339 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.1495, allocations: 16.91 kB / 0.9339 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02298/0.1725, allocations: 6.915 MB / 0.9407 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.1736, allocations: 303.4 kB / 0.941 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04085/0.2145, allocations: 25.52 MB / 0.9659 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.2162, allocations: 227.7 kB / 0.9661 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.2165, allocations: 99.94 kB / 0.9662 GB, free: 496 kB / 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.001027/0.2175, allocations: 300.1 kB / 0.9665 GB, free: 184 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.218, allocations: 326.6 kB / 0.9668 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/0.2334, allocations: 8.619 MB / 0.9752 GB, free: 7.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.2334, allocations: 24 kB / 0.9752 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001276/0.2335, allocations: 47.94 kB / 0.9753 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/0.2335, allocations: 15.95 kB / 0.9753 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/0.2549, allocations: 12.4 MB / 0.9874 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.2549, allocations: 7.984 kB / 0.9874 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.2554, allocations: 167.7 kB / 0.9876 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01729/0.2727, allocations: 6.735 MB / 0.9942 GB, free: 3.535 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005097/0.2732, allocations: 48 kB / 0.9942 GB, free: 3.488 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03342/0.3066, allocations: 25.42 MB / 1.019 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.3066, allocations: 11.94 kB / 1.019 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.3226, allocations: 8.546 MB / 1.027 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.3242, allocations: 0.7128 MB / 1.028 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.3246, allocations: 48 kB / 1.028 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.3258, allocations: 215.7 kB / 1.028 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/0.327, allocations: 253.3 kB / 1.029 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.3271, allocations: 68 kB / 1.029 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009033/0.328, allocations: 0.8219 MB / 1.029 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.328, allocations: 0 / 1.029 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003974/0.332, allocations: 1.617 MB / 1.031 GB, free: 12.87 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 {(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.000319/0.3323, allocations: 163 kB / 1.031 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01127/0.3436, allocations: 6.782 MB / 1.038 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.3436, allocations: 0 / 1.038 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009117/0.3527, allocations: 5.568 MB / 1.043 GB, free: 136 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.3547, allocations: 0.5363 MB / 1.044 GB, free: 15.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.3656, allocations: 7.516 MB / 1.051 GB, free: 7.945 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.3672, allocations: 1.297 MB / 1.052 GB, free: 6.617 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007619/0.368, allocations: 314.8 kB / 1.053 GB, free: 6.305 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3682, allocations: 92.5 kB / 1.053 GB, free: 6.215 MB / 1.01 GB Notification: Performance of SimCode: time 2.164e-06/0.3682, allocations: 0 / 1.053 GB, free: 6.215 MB / 1.01 GB Notification: Performance of Templates: time 0.3953/0.7635, allocations: 100.2 MB / 1.151 GB, free: 208.7 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: 7.0585949080996215]