Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009581/0.0009581, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008681/0.0008681, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8996/0.8996, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.1 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.059e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01766/0.01768, allocations: 25.07 MB / 0.9762 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.02784, allocations: 7.985 MB / 0.984 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.02946, allocations: 154.8 kB / 0.9842 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.03287, allocations: 2.779 MB / 0.9869 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.03559, allocations: 1.716 MB / 0.9886 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.03809, allocations: 1.705 MB / 0.9902 GB, free: 11.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004721/0.04281, allocations: 6.266 MB / 0.9963 GB, free: 5.152 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.04612, allocations: 3.758 MB / 1 GB, free: 1.305 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.05023, allocations: 3.723 MB / 1.004 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.05277, allocations: 2.638 MB / 1.006 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.05325, allocations: 0.5078 MB / 1.007 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.05498, allocations: 1.213 MB / 1.008 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.05628, allocations: 2.194 MB / 1.01 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.05754, allocations: 1.661 MB / 1.012 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005294/0.06283, allocations: 8.208 MB / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.06284, allocations: 0 / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.493e-06/0.06284, allocations: 4 kB / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.668e-05/0.06293, allocations: 4 kB / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.005112/0.06804, allocations: 4.213 MB / 1.024 GB, free: 8.84 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.06809, allocations: 12.03 kB / 1.024 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.07026, allocations: 0.8258 MB / 1.025 GB, free: 8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.07318, allocations: 2.533 MB / 1.027 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.07333, allocations: 271.6 kB / 1.027 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004948/0.07382, allocations: 372.8 kB / 1.028 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/0.08086, allocations: 6.452 MB / 1.034 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.96e-05/0.08093, allocations: 23.77 kB / 1.034 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.08118, allocations: 152 kB / 1.034 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003223/0.0815, allocations: 286.9 kB / 1.034 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.08623, allocations: 4.512 MB / 1.039 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5162/0.6024, allocations: 17.38 MB / 1.056 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/0.6034, allocations: 1.06 MB / 1.057 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.6041, allocations: 0.9535 MB / 1.058 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.6042, allocations: 13.09 kB / 1.058 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6042, allocations: 43.81 kB / 1.058 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.747e-06/0.6042, allocations: 0 / 1.058 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.01118/0.6154, allocations: 9.084 MB / 1.067 GB, free: 112.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6154, allocations: 64.88 kB / 1.067 GB, free: 112.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.6165, allocations: 1.399 MB / 1.068 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.6165, allocations: 47.64 kB / 1.068 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.617, allocations: 1.722 MB / 1.07 GB, free: 110.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.6172, allocations: 494.9 kB / 1.07 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.6175, allocations: 323.4 kB / 1.071 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.998e-05/0.6175, allocations: 313.4 kB / 1.071 GB, free: 110 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.6183, allocations: 0.9142 MB / 1.072 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/0.6192, allocations: 1.466 MB / 1.073 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.621, allocations: 2.546 MB / 1.076 GB, free: 107 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.621, allocations: 5.25 kB / 1.076 GB, free: 107 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002957/0.6239, allocations: 3.264 MB / 1.079 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.624, allocations: 15.78 kB / 1.079 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.624, allocations: 15.75 kB / 1.079 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.6251, allocations: 0.7384 MB / 1.08 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.6258, allocations: 384.3 kB / 1.08 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/0.6339, allocations: 15.81 MB / 1.096 GB, free: 92.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007998/0.6347, allocations: 97.14 kB / 1.096 GB, free: 92.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.6348, allocations: 75.91 kB / 1.096 GB, free: 92.26 MB / 0.9948 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001703/0.6365, allocations: 1.31 MB / 1.097 GB, free: 91.67 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.6366, allocations: 206.2 kB / 1.097 GB, free: 91.56 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.6395, allocations: 2.757 MB / 1.1 GB, free: 90.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6395, allocations: 13.81 kB / 1.1 GB, free: 90.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.6395, allocations: 10.25 kB / 1.1 GB, free: 90.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.6395, allocations: 5.953 kB / 1.1 GB, free: 90.39 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.645, allocations: 5.329 MB / 1.105 GB, free: 88.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.645, allocations: 8.594 kB / 1.105 GB, free: 88.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.6456, allocations: 234.3 kB / 1.105 GB, free: 88.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009957/0.6466, allocations: 0.6694 MB / 1.106 GB, free: 87.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.6466, allocations: 30.2 kB / 1.106 GB, free: 87.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007476/0.6541, allocations: 15.56 MB / 1.121 GB, free: 74.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6541, allocations: 10.16 kB / 1.121 GB, free: 74.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.6582, allocations: 3.972 MB / 1.125 GB, free: 72.96 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.6587, allocations: 376.1 kB / 1.125 GB, free: 72.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6588, allocations: 32.19 kB / 1.125 GB, free: 72.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.6593, allocations: 84.52 kB / 1.126 GB, free: 72.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.6596, allocations: 126.6 kB / 1.126 GB, free: 72.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.6597, allocations: 38.3 kB / 1.126 GB, free: 72.69 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009417/0.6606, allocations: 0.9032 MB / 1.127 GB, free: 72.35 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6606, allocations: 1.969 kB / 1.127 GB, free: 72.35 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001852/0.6625, allocations: 0.6865 MB / 1.127 GB, free: 72.29 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/0.6627, allocations: 148.9 kB / 1.127 GB, free: 72.16 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003119/0.6658, allocations: 3.374 MB / 1.131 GB, free: 70.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6658, allocations: 5.406 kB / 1.131 GB, free: 70.29 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.6675, allocations: 2.234 MB / 1.133 GB, free: 68.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.6691, allocations: 0.6345 MB / 1.134 GB, free: 68.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008443/0.6775, allocations: 7.012 MB / 1.14 GB, free: 65.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.6799, allocations: 2.159 MB / 1.142 GB, free: 64.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.6803, allocations: 133 kB / 1.143 GB, free: 64.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.884e-06/0.6803, allocations: 0 / 1.143 GB, free: 64.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.1197/0.7999, allocations: 210.8 MB / 1.348 GB, free: 14.16 MB / 1.135 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.557915980927646]