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.0009306/0.0009306, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009088/0.0009088, allocations: 169 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.9068/0.9068, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.014/2.014, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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.342e-06/1.342e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.012e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009518/0.009538, allocations: 11.88 MB / 0.8898 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005284/0.01482, allocations: 3.61 MB / 0.8933 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009196/0.01574, allocations: 115.1 kB / 0.8934 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.01689, allocations: 0.4965 MB / 0.8939 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.01851, allocations: 1.103 MB / 0.895 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.0199, allocations: 1.01 MB / 0.896 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.02342, allocations: 4.872 MB / 0.9007 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.02635, allocations: 3.135 MB / 0.9038 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.02904, allocations: 2.994 MB / 0.9067 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.03174, allocations: 2.373 MB / 0.909 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.000845/0.03259, allocations: 428 kB / 0.9094 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.03347, allocations: 0.5076 MB / 0.9099 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.03474, allocations: 1.805 MB / 0.9117 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.03626, allocations: 1.345 MB / 0.913 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.03881, allocations: 3.35 MB / 0.9163 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.03881, allocations: 4 kB / 0.9163 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.423e-06/0.03881, allocations: 0 / 0.9163 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.69e-05/0.03887, allocations: 0 / 0.9163 GB, free: 15.14 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.0037/0.04257, allocations: 3.599 MB / 0.9198 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.04261, allocations: 8.031 kB / 0.9198 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.04448, allocations: 0.9818 MB / 0.9208 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.04636, allocations: 1.915 MB / 0.9226 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.04648, allocations: 226.3 kB / 0.9229 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.04676, allocations: 304.4 kB / 0.9231 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.05025, allocations: 3.136 MB / 0.9262 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.0503, allocations: 16.02 kB / 0.9262 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.05049, allocations: 135.9 kB / 0.9264 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.05073, allocations: 229.7 kB / 0.9266 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.05264, allocations: 1.138 MB / 0.9277 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.06275, allocations: 14.44 MB / 0.9418 GB, free: 4.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.06347, allocations: 0.5941 MB / 0.9424 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.06402, allocations: 442.8 kB / 0.9428 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/0.06407, allocations: 21 kB / 0.9428 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.0641, allocations: 46.39 kB / 0.9428 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=107): time 2.745e-06/0.06411, allocations: 0 / 0.9428 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138): time 0.007935/0.07204, allocations: 4.494 MB / 0.9472 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.07208, allocations: 68.72 kB / 0.9473 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/0.07283, allocations: 0.9968 MB / 0.9483 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.07289, allocations: 49.7 kB / 0.9483 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.07346, allocations: 1.396 MB / 0.9497 GB, free: 12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.07372, allocations: 0.5036 MB / 0.9502 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.07402, allocations: 305.1 kB / 0.9505 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003335/0.07435, allocations: 480.7 kB / 0.9509 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.07479, allocations: 303.8 kB / 0.9512 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.07548, allocations: 0.8807 MB / 0.9521 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.07672, allocations: 1.317 MB / 0.9534 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.07673, allocations: 7.938 kB / 0.9534 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00262/0.07935, allocations: 1.934 MB / 0.9553 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.07937, allocations: 11.94 kB / 0.9553 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.07938, allocations: 15.94 kB / 0.9553 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.08139, allocations: 0.9215 MB / 0.9562 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.0819, allocations: 255.6 kB / 0.9564 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/0.08975, allocations: 9.105 MB / 0.9653 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.09032, allocations: 95.97 kB / 0.9654 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.09039, allocations: 64 kB / 0.9655 GB, free: 10.97 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.0005124/0.0909, allocations: 240.2 kB / 0.9657 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.0911, allocations: 207 kB / 0.9659 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.09342, allocations: 1.662 MB / 0.9675 GB, free: 8.824 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.09343, allocations: 12 kB / 0.9675 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.09344, allocations: 15.98 kB / 0.9675 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.09345, allocations: 3.984 kB / 0.9676 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004969/0.09842, allocations: 3.997 MB / 0.9715 GB, free: 4.668 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.09842, allocations: 4 kB / 0.9715 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.09873, allocations: 147.8 kB / 0.9716 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.1005, allocations: 0.8472 MB / 0.9724 GB, free: 3.664 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.1006, allocations: 24 kB / 0.9725 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007406/0.108, allocations: 9.111 MB / 0.9813 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.108, allocations: 7.938 kB / 0.9814 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1103, allocations: 1.875 MB / 0.9832 GB, free: 8.176 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.1107, allocations: 318.9 kB / 0.9835 GB, free: 7.863 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.1108, allocations: 28 kB / 0.9835 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.1112, allocations: 87.89 kB / 0.9836 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.1114, allocations: 132.6 kB / 0.9837 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.1114, allocations: 40 kB / 0.9838 GB, free: 7.582 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004639/0.1119, allocations: 0.5887 MB / 0.9843 GB, free: 6.988 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1119, allocations: 0 / 0.9843 GB, free: 6.988 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001236/0.1131, allocations: 0.668 MB / 0.985 GB, free: 6.32 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.0001662/0.1133, allocations: 143 kB / 0.9851 GB, free: 6.172 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00257/0.1158, allocations: 2.112 MB / 0.9872 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1159, allocations: 0.75 kB / 0.9872 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.1172, allocations: 1.575 MB / 0.9887 GB, free: 2.375 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.1183, allocations: 488.4 kB / 0.9892 GB, free: 1.918 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.124, allocations: 4.806 MB / 0.9939 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.1246, allocations: 0.8076 MB / 0.9947 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.1251, allocations: 285.2 kB / 0.995 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1253, allocations: 84.5 kB / 0.995 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of SimCode: time 1.383e-06/0.1253, allocations: 0 / 0.995 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Templates: time 0.03707/0.1624, allocations: 35.05 MB / 1.029 GB, free: 9.352 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.71982999984175]