Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001498/0.001498, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001653/0.001653, allocations: 169 kB / 24.28 MB, free: 276 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.9406/0.9406, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.838/1.838, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.3e-05, allocations: 4.359 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007927/0.00794, allocations: 10.12 MB / 0.8214 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003368/0.01131, allocations: 3.102 MB / 0.8245 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.01165, allocations: 51.62 kB / 0.8245 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.01258, allocations: 0.7138 MB / 0.8252 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008298/0.01341, allocations: 0.7359 MB / 0.8259 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.01416, allocations: 0.6476 MB / 0.8266 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.01586, allocations: 2.784 MB / 0.8293 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.01701, allocations: 1.373 MB / 0.8306 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.01819, allocations: 1.59 MB / 0.8322 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.0193, allocations: 1.41 MB / 0.8335 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.0195, allocations: 216 kB / 0.8338 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.01997, allocations: 472.9 kB / 0.8342 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006158/0.02059, allocations: 1.072 MB / 0.8353 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.02114, allocations: 0.7173 MB / 0.836 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.0225, allocations: 2.01 MB / 0.8379 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.0225, allocations: 0.5 kB / 0.8379 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.12e-07/0.0225, allocations: 4 kB / 0.8379 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.02252, allocations: 0.5625 kB / 0.8379 GB, free: 6.977 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.001936/0.02446, allocations: 2.079 MB / 0.84 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.02449, allocations: 8.031 kB / 0.84 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.02785, allocations: 1.167 MB / 0.8411 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.02892, allocations: 1.064 MB / 0.8421 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.02898, allocations: 111.3 kB / 0.8422 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.02915, allocations: 144.3 kB / 0.8424 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.03103, allocations: 1.664 MB / 0.844 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.03106, allocations: 6.156 kB / 0.844 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.03118, allocations: 64.34 kB / 0.8441 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.03132, allocations: 174.9 kB / 0.8442 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.03267, allocations: 0.7244 MB / 0.8449 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006744/0.03941, allocations: 8.667 MB / 0.8534 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.04015, allocations: 475.8 kB / 0.8539 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.0406, allocations: 336.5 kB / 0.8542 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/0.04068, allocations: 16.66 kB / 0.8542 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.04071, allocations: 57.97 kB / 0.8543 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 1.804e-06/0.04071, allocations: 0 / 0.8543 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.01097/0.05168, allocations: 5.727 MB / 0.8598 GB, free: 0 / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.05172, allocations: 72.66 kB / 0.8599 GB, free: 15.92 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.05234, allocations: 0.7647 MB / 0.8607 GB, free: 15.14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/0.05241, allocations: 45.7 kB / 0.8607 GB, free: 15.09 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.05276, allocations: 0.8074 MB / 0.8615 GB, free: 14.27 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.05306, allocations: 0.5153 MB / 0.862 GB, free: 13.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.0534, allocations: 289.2 kB / 0.8623 GB, free: 13.46 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.05355, allocations: 0.5277 MB / 0.8628 GB, free: 12.92 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/0.05416, allocations: 331.8 kB / 0.8631 GB, free: 12.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.05497, allocations: 0.7869 MB / 0.8639 GB, free: 11.65 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.05638, allocations: 1.194 MB / 0.865 GB, free: 10.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.05638, allocations: 4 kB / 0.865 GB, free: 10.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005094/0.06148, allocations: 2.838 MB / 0.8678 GB, free: 7.422 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.0615, allocations: 13.44 kB / 0.8678 GB, free: 7.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.06151, allocations: 8 kB / 0.8678 GB, free: 7.402 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/0.06604, allocations: 1.868 MB / 0.8697 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.06643, allocations: 187.7 kB / 0.8698 GB, free: 5.336 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.0807, allocations: 14.83 MB / 0.8843 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.08126, allocations: 95.89 kB / 0.8844 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.502e-05/0.08134, allocations: 59.98 kB / 0.8845 GB, free: 5.871 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.08171, allocations: 240.2 kB / 0.8847 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.0819, allocations: 167.2 kB / 0.8849 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/0.0867, allocations: 2.721 MB / 0.8875 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.08671, allocations: 16 kB / 0.8875 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.08673, allocations: 20 kB / 0.8876 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.08674, allocations: 11.91 kB / 0.8876 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006975/0.09371, allocations: 4.683 MB / 0.8921 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.09372, allocations: 4 kB / 0.8921 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.09395, allocations: 119.8 kB / 0.8923 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004214/0.09816, allocations: 1.76 MB / 0.894 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.09823, allocations: 32 kB / 0.894 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.1112, allocations: 13.65 MB / 0.9073 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1112, allocations: 4 kB / 0.9073 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.1158, allocations: 2.796 MB / 0.9101 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.1163, allocations: 379 kB / 0.9104 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.1164, allocations: 35.95 kB / 0.9105 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.1168, allocations: 75.89 kB / 0.9105 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.1171, allocations: 129 kB / 0.9107 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.1171, allocations: 40 kB / 0.9107 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003636/0.1175, allocations: 474.9 kB / 0.9112 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.1175, allocations: 0 / 0.9112 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001386/0.1189, allocations: 0.7227 MB / 0.9119 GB, free: 9.066 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.1191, allocations: 131.1 kB / 0.912 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002884/0.122, allocations: 2.491 MB / 0.9144 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.122, allocations: 0 / 0.9144 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.1242, allocations: 2.011 MB / 0.9164 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.1249, allocations: 213.9 kB / 0.9166 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1284, allocations: 3.267 MB / 0.9198 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1289, allocations: 0.5422 MB / 0.9203 GB, free: 152 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003759/0.1292, allocations: 261.3 kB / 0.9206 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1294, allocations: 52.5 kB / 0.9206 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.1294, allocations: 0 / 0.9206 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.03763/0.167, allocations: 42.84 MB / 0.9624 GB, free: 5.258 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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: 5.586793525144458]