Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009626/0.0009626, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001032/0.001032, allocations: 165 kB / 23.02 MB, free: 1.547 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.9308/0.9308, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.038/2.038, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.699e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009659/0.009676, allocations: 11.88 MB / 0.8898 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.01478, allocations: 3.618 MB / 0.8933 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.01552, allocations: 111.2 kB / 0.8934 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008892/0.01641, allocations: 0.4926 MB / 0.8939 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.01777, allocations: 1.103 MB / 0.895 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.01908, allocations: 1.014 MB / 0.896 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003497/0.02258, allocations: 4.868 MB / 0.9007 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.02514, allocations: 3.131 MB / 0.9038 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.02739, allocations: 2.986 MB / 0.9067 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.02923, allocations: 2.342 MB / 0.909 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.02959, allocations: 432 kB / 0.9094 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006134/0.03021, allocations: 0.5116 MB / 0.9099 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.03124, allocations: 1.808 MB / 0.9117 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.03227, allocations: 1.357 MB / 0.913 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.03455, allocations: 3.358 MB / 0.9163 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.03455, allocations: 0 / 0.9163 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.032e-06/0.03455, allocations: 0 / 0.9163 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.361e-05/0.03458, allocations: 0 / 0.9163 GB, free: 15.13 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003561/0.03815, allocations: 3.599 MB / 0.9198 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.03819, allocations: 8.031 kB / 0.9198 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.04017, allocations: 1.025 MB / 0.9208 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.0422, allocations: 1.956 MB / 0.9227 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.0423, allocations: 226.3 kB / 0.9229 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.04258, allocations: 304.3 kB / 0.9232 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.04575, allocations: 3.14 MB / 0.9263 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.0458, allocations: 16.06 kB / 0.9263 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.0462, allocations: 127.9 kB / 0.9264 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.04643, allocations: 237.7 kB / 0.9266 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.04836, allocations: 1.131 MB / 0.9277 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00989/0.05825, allocations: 14.41 MB / 0.9418 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.05899, allocations: 0.5993 MB / 0.9424 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.05954, allocations: 446.8 kB / 0.9428 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.05959, allocations: 17 kB / 0.9428 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.05962, allocations: 58.39 kB / 0.9429 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=107): time 2.334e-06/0.05962, allocations: 0 / 0.9429 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138): time 0.00741/0.06703, allocations: 4.436 MB / 0.9472 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.06707, allocations: 64.72 kB / 0.9473 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.06814, allocations: 0.9929 MB / 0.9483 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.0682, allocations: 49.7 kB / 0.9483 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005766/0.06878, allocations: 1.396 MB / 0.9497 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.06904, allocations: 0.4997 MB / 0.9502 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.06935, allocations: 305.1 kB / 0.9504 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.06944, allocations: 480.8 kB / 0.9509 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.06989, allocations: 303.8 kB / 0.9512 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.0706, allocations: 0.8885 MB / 0.9521 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.07186, allocations: 1.309 MB / 0.9533 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.07186, allocations: 4 kB / 0.9533 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002935/0.0748, allocations: 1.935 MB / 0.9552 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.07482, allocations: 20 kB / 0.9553 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.07483, allocations: 12 kB / 0.9553 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.07669, allocations: 0.8844 MB / 0.9561 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.07718, allocations: 255.6 kB / 0.9564 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007742/0.08492, allocations: 9.073 MB / 0.9652 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.08547, allocations: 99.91 kB / 0.9653 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.08555, allocations: 64 kB / 0.9654 GB, free: 11.02 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005479/0.0861, allocations: 244.2 kB / 0.9656 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.08629, allocations: 207 kB / 0.9658 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.08865, allocations: 1.658 MB / 0.9674 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.08865, allocations: 12 kB / 0.9674 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.08866, allocations: 12 kB / 0.9675 GB, free: 8.848 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.08867, allocations: 7.984 kB / 0.9675 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.09374, allocations: 3.986 MB / 0.9714 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.09375, allocations: 7.938 kB / 0.9714 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.09404, allocations: 147.8 kB / 0.9715 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.09569, allocations: 0.7958 MB / 0.9723 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.09574, allocations: 32 kB / 0.9723 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007275/0.103, allocations: 9.067 MB / 0.9812 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.103, allocations: 7.938 kB / 0.9812 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.1056, allocations: 1.871 MB / 0.983 GB, free: 8.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.106, allocations: 318.9 kB / 0.9833 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.1061, allocations: 24 kB / 0.9833 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.1065, allocations: 83.89 kB / 0.9834 GB, free: 7.902 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.1067, allocations: 136.6 kB / 0.9835 GB, free: 7.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.1067, allocations: 40 kB / 0.9836 GB, free: 7.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004984/0.1072, allocations: 0.5848 MB / 0.9842 GB, free: 7.141 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1072, allocations: 4 kB / 0.9842 GB, free: 7.137 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001359/0.1086, allocations: 0.6562 MB / 0.9848 GB, free: 6.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.1088, allocations: 139.1 kB / 0.9849 GB, free: 6.336 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.111, allocations: 2.111 MB / 0.987 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.111, allocations: 0 / 0.987 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.1123, allocations: 1.576 MB / 0.9885 GB, free: 2.539 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1134, allocations: 488.2 kB / 0.989 GB, free: 2.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.1189, allocations: 4.801 MB / 0.9937 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.1196, allocations: 0.8038 MB / 0.9945 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004897/0.12, allocations: 285.3 kB / 0.9947 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.1202, allocations: 92.48 kB / 0.9948 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.1202, allocations: 4 kB / 0.9948 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of Templates: time 0.0369/0.1571, allocations: 33.47 MB / 1.028 GB, free: 11.11 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 5.848581313621253]