Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001184/0.001184, allocations: 167.8 kB / 24.87 MB, free: 9.285 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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,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") 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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.34e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.009688/0.009701, allocations: 13 MB / 0.8255 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00461/0.01431, allocations: 3.872 MB / 0.8293 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.01487, allocations: 127.1 kB / 0.8294 GB, free: 404 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.01569, allocations: 0.5361 MB / 0.8299 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.01713, allocations: 1.5 MB / 0.8314 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01822, allocations: 1.103 MB / 0.8325 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004003/0.02222, allocations: 5.951 MB / 0.8383 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.02526, allocations: 3.174 MB / 0.8414 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.02816, allocations: 3.428 MB / 0.8447 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.03089, allocations: 2.929 MB / 0.8476 GB, free: 13.66 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.03133, allocations: 456 kB / 0.848 GB, free: 13.22 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007595/0.03209, allocations: 0.5867 MB / 0.8486 GB, free: 12.63 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.03335, allocations: 2.218 MB / 0.8508 GB, free: 10.41 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.03451, allocations: 1.497 MB / 0.8522 GB, free: 8.91 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.03733, allocations: 3.887 MB / 0.856 GB, free: 5.016 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.03733, allocations: 0 / 0.856 GB, free: 5.016 MB / 0.8074 GB Notification: Performance of FrontEnd: time 9.62e-07/0.03733, allocations: 0 / 0.856 GB, free: 5.016 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 4.028e-05/0.03737, allocations: 0 / 0.856 GB, free: 5.016 MB / 0.8074 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.003555/0.04093, allocations: 4.006 MB / 0.8599 GB, free: 0.957 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.04096, allocations: 8.031 kB / 0.8599 GB, free: 0.9492 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.04381, allocations: 1.196 MB / 0.8611 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.04566, allocations: 1.989 MB / 0.8631 GB, free: 13.71 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.04579, allocations: 246.2 kB / 0.8633 GB, free: 13.47 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.04611, allocations: 323.9 kB / 0.8636 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.04908, allocations: 3.343 MB / 0.8669 GB, free: 9.418 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.04913, allocations: 7.938 kB / 0.8669 GB, free: 9.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.04935, allocations: 143.9 kB / 0.867 GB, free: 9.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002942/0.04964, allocations: 410.2 kB / 0.8674 GB, free: 8.867 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.05134, allocations: 1.086 MB / 0.8685 GB, free: 7.77 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.06336, allocations: 18.76 MB / 0.8868 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.06386, allocations: 383.1 kB / 0.8871 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.06433, allocations: 459 kB / 0.8876 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.06441, allocations: 17 kB / 0.8876 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.06444, allocations: 58.33 kB / 0.8877 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 2.585e-06/0.06444, allocations: 0 / 0.8877 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.01532/0.07976, allocations: 7.927 MB / 0.8954 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.07979, allocations: 69.41 kB / 0.8955 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.08081, allocations: 1.226 MB / 0.8967 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.08091, allocations: 57.7 kB / 0.8967 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.08157, allocations: 1.663 MB / 0.8983 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.08194, allocations: 0.6585 MB / 0.899 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.08237, allocations: 377 kB / 0.8993 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.08246, allocations: 476.8 kB / 0.8998 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.08296, allocations: 383.8 kB / 0.9002 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000837/0.0838, allocations: 1.188 MB / 0.9013 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.08555, allocations: 1.76 MB / 0.903 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.08556, allocations: 4 kB / 0.903 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009334/0.0949, allocations: 4.061 MB / 0.907 GB, free: 14.86 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.09492, allocations: 12 kB / 0.907 GB, free: 14.85 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.09495, allocations: 16 kB / 0.907 GB, free: 14.84 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007103/0.102, allocations: 2.789 MB / 0.9098 GB, free: 12.03 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.1026, allocations: 271.6 kB / 0.91 GB, free: 11.77 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.1195, allocations: 17.51 MB / 0.9271 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009007/0.1204, allocations: 60 kB / 0.9272 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.1205, allocations: 67.98 kB / 0.9272 GB, free: 9.441 MB / 0.8855 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.0007243/0.1213, allocations: 276 kB / 0.9275 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.1216, allocations: 254.8 kB / 0.9278 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/0.1284, allocations: 3.922 MB / 0.9316 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.1284, allocations: 16 kB / 0.9316 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.1285, allocations: 31.98 kB / 0.9316 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.1285, allocations: 7.969 kB / 0.9316 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009202/0.1377, allocations: 6.071 MB / 0.9376 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.1377, allocations: 8 kB / 0.9376 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.1382, allocations: 131.8 kB / 0.9377 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006488/0.1447, allocations: 2.693 MB / 0.9403 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.1448, allocations: 36 kB / 0.9404 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/0.1612, allocations: 17.42 MB / 0.9574 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1612, allocations: 11.94 kB / 0.9574 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/0.168, allocations: 4.029 MB / 0.9613 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.1687, allocations: 434.4 kB / 0.9617 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.1689, allocations: 43.98 kB / 0.9618 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.1695, allocations: 36 kB / 0.9618 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/0.17, allocations: 176.8 kB / 0.962 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/0.1701, allocations: 40 kB / 0.962 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004983/0.1706, allocations: 0.663 MB / 0.9627 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1706, allocations: 0 / 0.9627 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002421/0.173, allocations: 1.113 MB / 0.9638 GB, free: 2.938 MB / 0.9167 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.0002304/0.1732, allocations: 151 kB / 0.9639 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005257/0.1785, allocations: 3.87 MB / 0.9677 GB, free: 14.8 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1785, allocations: 4.438 kB / 0.9677 GB, free: 14.8 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.004069/0.1826, allocations: 3.109 MB / 0.9707 GB, free: 11.58 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.1841, allocations: 0.5166 MB / 0.9712 GB, free: 11.07 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.191, allocations: 5.934 MB / 0.977 GB, free: 4.98 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/0.1919, allocations: 1.007 MB / 0.978 GB, free: 3.941 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0004274/0.1923, allocations: 187.9 kB / 0.9782 GB, free: 3.754 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.1929, allocations: 453.9 kB / 0.9786 GB, free: 3.309 MB / 0.9324 GB Notification: Performance of SimCode: time 1.664e-06/0.1929, allocations: 0 / 0.9786 GB, free: 3.309 MB / 0.9324 GB Notification: Performance of Templates: time 0.07074/0.2636, allocations: 68.36 MB / 1.045 GB, free: 15.5 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.993795013986528]