Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_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=5000,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001486, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.831/2.831, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003838, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.806, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02153/0.8276, allocations: 18.41 MB / 1.04 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.8387, allocations: 6.131 MB / 1.046 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.8404, allocations: 75.56 kB / 1.046 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.8416, allocations: 400.8 kB / 1.047 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.8443, allocations: 0.9482 MB / 1.048 GB, free: 5.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.8468, allocations: 0.764 MB / 1.048 GB, free: 5.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00651/0.8533, allocations: 5.477 MB / 1.054 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.8644, allocations: 6.403 MB / 1.06 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003671/0.8681, allocations: 1.521 MB / 1.062 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.8713, allocations: 1.974 MB / 1.064 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.8716, allocations: 176 kB / 1.064 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.8731, allocations: 483.4 kB / 1.064 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.8745, allocations: 1.337 MB / 1.065 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.8754, allocations: 0.6446 MB / 1.066 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00513/0.8805, allocations: 5.373 MB / 1.071 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.8806, allocations: 8 kB / 1.071 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8806, allocations: 0 / 1.071 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001213/0.8807, allocations: 0 / 1.071 GB, free: 13.73 MB / 0.8262 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.005727/0.8864, allocations: 2.855 MB / 1.074 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8865, allocations: 8.562 kB / 1.074 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.8898, allocations: 0.6401 MB / 1.075 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.8935, allocations: 1.904 MB / 1.077 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.8937, allocations: 218 kB / 1.077 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/0.8942, allocations: 295.9 kB / 1.077 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009011/0.9032, allocations: 4.867 MB / 1.082 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.172e-05/0.9033, allocations: 15.83 kB / 1.082 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.9036, allocations: 128 kB / 1.082 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004112/0.904, allocations: 221.7 kB / 1.082 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00646/0.9105, allocations: 3.735 MB / 1.086 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/0.9344, allocations: 21.61 MB / 1.107 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.9363, allocations: 1.3 MB / 1.108 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.9378, allocations: 1.038 MB / 1.109 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.9379, allocations: 13 kB / 1.109 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.9379, allocations: 43.56 kB / 1.109 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=107): time 3.496e-06/0.9379, allocations: 0 / 1.109 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=138): time 0.02379/0.9617, allocations: 8.67 MB / 1.118 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.9618, allocations: 72.66 kB / 1.118 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.9636, allocations: 1.115 MB / 1.119 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.9637, allocations: 45.7 kB / 1.119 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/0.9646, allocations: 1.307 MB / 1.12 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.9651, allocations: 481.1 kB / 1.121 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.9652, allocations: 28 kB / 1.121 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.9654, allocations: 373.9 kB / 1.121 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.9667, allocations: 0.9135 MB / 1.122 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.9684, allocations: 1.311 MB / 1.123 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.9701, allocations: 1.135 MB / 1.124 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.9701, allocations: 4 kB / 1.124 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006264/0.9764, allocations: 3.441 MB / 1.128 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.9764, allocations: 12 kB / 1.128 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.9765, allocations: 12 kB / 1.128 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.9796, allocations: 1.187 MB / 1.129 GB, free: 124 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.9805, allocations: 255.6 kB / 1.129 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.9972, allocations: 12.72 MB / 1.142 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.9986, allocations: 83.98 kB / 1.142 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.9988, allocations: 67.98 kB / 1.142 GB, free: 2.605 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002193/1.001, allocations: 1.114 MB / 1.143 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/1.001, allocations: 166.1 kB / 1.143 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/1.007, allocations: 3.161 MB / 1.146 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.007, allocations: 15.98 kB / 1.146 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/1.007, allocations: 12 kB / 1.146 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.007, allocations: 15.84 kB / 1.146 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.019, allocations: 6.23 MB / 1.152 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.019, allocations: 12.12 kB / 1.152 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/1.02, allocations: 143.8 kB / 1.152 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00374/1.023, allocations: 1.071 MB / 1.153 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.023, allocations: 28 kB / 1.153 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/1.047, allocations: 12.43 MB / 1.166 GB, free: 9.641 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.047, allocations: 7.953 kB / 1.166 GB, free: 9.633 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006916/1.054, allocations: 3.139 MB / 1.169 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.055, allocations: 431 kB / 1.169 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/1.055, allocations: 28 kB / 1.169 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.056, allocations: 79.89 kB / 1.169 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/1.057, allocations: 132.7 kB / 1.169 GB, free: 5.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.057, allocations: 40 kB / 1.169 GB, free: 5.691 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001895/1.059, allocations: 0.7554 MB / 1.17 GB, free: 4.934 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/1.059, allocations: 0 / 1.17 GB, free: 4.934 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003814/1.063, allocations: 0.6602 MB / 1.171 GB, free: 4.273 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003801/1.063, allocations: 143.1 kB / 1.171 GB, free: 4.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007072/1.07, allocations: 3.119 MB / 1.174 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.07, allocations: 0 / 1.174 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004408/1.075, allocations: 1.964 MB / 1.176 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/1.078, allocations: 470.5 kB / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.093, allocations: 6.458 MB / 1.183 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/1.096, allocations: 2.336 MB / 1.185 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001362/1.097, allocations: 350.1 kB / 1.185 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/1.097, allocations: 87.42 kB / 1.185 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of SimCode: time 1.412e-06/1.097, allocations: 0 / 1.185 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.05651/1.154, allocations: 30.2 MB / 1.215 GB, free: 7.391 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches