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.0008198/0.0008198, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000965/0.000965, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9728/0.9728, allocations: 177.2 MB / 204.2 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.737/1.737, allocations: 359 MB / 0.6052 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 2.144e-06/2.144e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.085e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01153/0.01156, allocations: 14.05 MB / 0.8008 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007022/0.01859, allocations: 4.133 MB / 0.8049 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.02041, allocations: 127.6 kB / 0.805 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.02183, allocations: 0.5746 MB / 0.8056 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.02468, allocations: 1.72 MB / 0.8072 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.0269, allocations: 1.228 MB / 0.8084 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006373/0.03327, allocations: 6.919 MB / 0.8152 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005419/0.03869, allocations: 3.619 MB / 0.8187 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007386/0.04608, allocations: 4.004 MB / 0.8226 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004384/0.05046, allocations: 3.569 MB / 0.8261 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.05122, allocations: 0.5234 MB / 0.8266 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.05234, allocations: 0.6793 MB / 0.8273 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.003921/0.05626, allocations: 2.686 MB / 0.8299 GB, free: 448 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004175/0.06043, allocations: 1.77 MB / 0.8317 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.06721, allocations: 4.589 MB / 0.8361 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.06722, allocations: 0 / 0.8361 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.783e-06/0.06722, allocations: 0 / 0.8361 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001711/0.06739, allocations: 0 / 0.8361 GB, free: 10.06 MB / 0.7917 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.007427/0.07481, allocations: 4.672 MB / 0.8407 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.07487, allocations: 12.03 kB / 0.8407 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007071/0.08195, allocations: 2.159 MB / 0.8428 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004814/0.08676, allocations: 2.491 MB / 0.8452 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.08699, allocations: 275.7 kB / 0.8455 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009176/0.0879, allocations: 364.4 kB / 0.8459 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009113/0.09702, allocations: 4.12 MB / 0.8499 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.159e-05/0.09711, allocations: 20.05 kB / 0.8499 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004721/0.09758, allocations: 164.3 kB / 0.8501 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005775/0.09816, allocations: 487.3 kB / 0.8505 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004941/0.1031, allocations: 1.598 MB / 0.8521 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.128, allocations: 21.26 MB / 0.8728 GB, free: 3.398 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1297, allocations: 0.7824 MB / 0.8736 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.1313, allocations: 0.8187 MB / 0.8744 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.1314, allocations: 33.3 kB / 0.8744 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.1314, allocations: 50.7 kB / 0.8745 GB, free: 1.688 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 5.79e-06/0.1314, allocations: 4 kB / 0.8745 GB, free: 1.684 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.0406/0.172, allocations: 17.03 MB / 0.8911 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.1721, allocations: 77.41 kB / 0.8912 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.1741, allocations: 1.445 MB / 0.8926 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.1743, allocations: 65.7 kB / 0.8927 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.1756, allocations: 1.866 MB / 0.8945 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/0.1765, allocations: 0.9064 MB / 0.8954 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.1775, allocations: 451.9 kB / 0.8958 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1776, allocations: 484.7 kB / 0.8963 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.1794, allocations: 0.7274 MB / 0.897 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.1818, allocations: 1.576 MB / 0.8985 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.1861, allocations: 2.518 MB / 0.901 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.1861, allocations: 8 kB / 0.901 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02379/0.2099, allocations: 8.59 MB / 0.9094 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.2099, allocations: 12 kB / 0.9094 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.21, allocations: 19.98 kB / 0.9094 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02212/0.2321, allocations: 6.916 MB / 0.9162 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.2332, allocations: 295.5 kB / 0.9164 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03527/0.2685, allocations: 25.52 MB / 0.9414 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.2703, allocations: 223.7 kB / 0.9416 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.2704, allocations: 100 kB / 0.9417 GB, free: 11.28 MB / 0.9011 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.001062/0.2715, allocations: 304 kB / 0.942 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.272, allocations: 326.5 kB / 0.9423 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.2871, allocations: 8.612 MB / 0.9507 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.2872, allocations: 31.98 kB / 0.9507 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.008e-05/0.2872, allocations: 44 kB / 0.9508 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.2873, allocations: 15.89 kB / 0.9508 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.3074, allocations: 12.4 MB / 0.9629 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.3074, allocations: 8 kB / 0.9629 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.3079, allocations: 167.8 kB / 0.963 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/0.3239, allocations: 6.736 MB / 0.9696 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.3241, allocations: 48 kB / 0.9697 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03203/0.3562, allocations: 25.42 MB / 0.9945 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.3562, allocations: 8 kB / 0.9945 GB, free: 4.102 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.3715, allocations: 8.561 MB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.3728, allocations: 0.7089 MB / 1.004 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.373, allocations: 52 kB / 1.004 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.3741, allocations: 207.7 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/0.3752, allocations: 257.3 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.3754, allocations: 64 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008225/0.3762, allocations: 0.8258 MB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3762, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003831/0.38, allocations: 1.621 MB / 1.006 GB, free: 7.652 MB / 0.9636 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.0003188/0.3804, allocations: 157.2 kB / 1.007 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.3913, allocations: 6.78 MB / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3913, allocations: 256 / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008207/0.3995, allocations: 5.576 MB / 1.019 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4011, allocations: 0.5432 MB / 1.019 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.4121, allocations: 7.494 MB / 1.027 GB, free: 2.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.4135, allocations: 1.297 MB / 1.028 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006074/0.4141, allocations: 318.8 kB / 1.028 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.4143, allocations: 96.5 kB / 1.028 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of SimCode: time 2.414e-06/0.4143, allocations: 4 kB / 1.028 GB, free: 0.9883 MB / 0.9792 GB Notification: Performance of Templates: time 0.5003/0.9146, allocations: 101.7 MB / 1.127 GB, free: 254.9 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: 7.368523414712399]