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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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=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_latest_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.0008699/0.0008698, allocations: 92.39 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.0009985/0.0009985, 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.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.041/3.041, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 11.03 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3876, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01887/0.4066, allocations: 18.4 MB / 1.076 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.4177, allocations: 6.143 MB / 1.082 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.4195, allocations: 71.56 kB / 1.082 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.4206, allocations: 400.8 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.4231, allocations: 0.9521 MB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.4255, allocations: 0.7629 MB / 1.084 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006051/0.4316, allocations: 5.481 MB / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.4422, allocations: 6.4 MB / 1.096 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.4456, allocations: 1.51 MB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004008/0.4496, allocations: 1.97 MB / 1.099 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006604/0.4503, allocations: 176 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.4523, allocations: 479.5 kB / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.4545, allocations: 1.344 MB / 1.101 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.4562, allocations: 0.6446 MB / 1.102 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008007/0.4642, allocations: 5.373 MB / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4642, allocations: 0 / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4643, allocations: 4 kB / 1.107 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002364/0.4645, allocations: 0 / 1.107 GB, free: 3.066 MB / 0.8575 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.009666/0.4742, allocations: 2.849 MB / 1.11 GB, free: 160 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4742, allocations: 12.03 kB / 1.11 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.4787, allocations: 0.6517 MB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.4842, allocations: 1.885 MB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.4845, allocations: 229.9 kB / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.4859, allocations: 288 kB / 1.113 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.5013, allocations: 4.863 MB / 1.117 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001935/0.5015, allocations: 19.83 kB / 1.117 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.5026, allocations: 131.9 kB / 1.118 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006376/0.5032, allocations: 225.7 kB / 1.118 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.5145, allocations: 3.738 MB / 1.121 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/0.5424, allocations: 21.59 MB / 1.143 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.5446, allocations: 1.304 MB / 1.144 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.5464, allocations: 1.038 MB / 1.145 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.5465, allocations: 9 kB / 1.145 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.5466, allocations: 47.55 kB / 1.145 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 5.079e-06/0.5466, allocations: 0 / 1.145 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02321/0.5698, allocations: 8.677 MB / 1.153 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5699, allocations: 68.72 kB / 1.153 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.5719, allocations: 1.118 MB / 1.155 GB, free: 15.9 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.572, allocations: 45.7 kB / 1.155 GB, free: 15.85 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.573, allocations: 1.304 MB / 1.156 GB, free: 14.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.5736, allocations: 481 kB / 1.156 GB, free: 14.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5738, allocations: 35.94 kB / 1.156 GB, free: 14.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.574, allocations: 373.9 kB / 1.157 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.5754, allocations: 0.9057 MB / 1.158 GB, free: 12.74 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.5772, allocations: 1.322 MB / 1.159 GB, free: 11.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.579, allocations: 1.135 MB / 1.16 GB, free: 10.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.579, allocations: 4 kB / 1.16 GB, free: 10.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006193/0.5852, allocations: 3.445 MB / 1.163 GB, free: 6.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5853, allocations: 14.34 kB / 1.163 GB, free: 6.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.5853, allocations: 15.98 kB / 1.163 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/0.5884, allocations: 1.181 MB / 1.165 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/0.5893, allocations: 255.6 kB / 1.165 GB, free: 5.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.6095, allocations: 12.71 MB / 1.177 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.6113, allocations: 87.97 kB / 1.177 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000348/0.6117, allocations: 63.95 kB / 1.177 GB, free: 7.918 MB / 0.9356 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.002606/0.6143, allocations: 1.119 MB / 1.178 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/0.6148, allocations: 162.1 kB / 1.179 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006657/0.6215, allocations: 3.158 MB / 1.182 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.6215, allocations: 12 kB / 1.182 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.028e-05/0.6216, allocations: 12 kB / 1.182 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.6216, allocations: 7.969 kB / 1.182 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.638, allocations: 6.23 MB / 1.188 GB, free: 13.06 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.638, allocations: 8.094 kB / 1.188 GB, free: 13.05 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.6387, allocations: 151.8 kB / 1.188 GB, free: 12.9 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/0.6419, allocations: 1.069 MB / 1.189 GB, free: 11.83 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.642, allocations: 27.98 kB / 1.189 GB, free: 11.8 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.6595, allocations: 12.43 MB / 1.201 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-05/0.6595, allocations: 7.984 kB / 1.201 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/0.6654, allocations: 3.139 MB / 1.204 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6665, allocations: 430.9 kB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/0.6669, allocations: 36.36 kB / 1.205 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.6679, allocations: 75.91 kB / 1.205 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.6683, allocations: 136.7 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6684, allocations: 40 kB / 1.205 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001425/0.6698, allocations: 0.7514 MB / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6698, allocations: 0 / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002608/0.6724, allocations: 0.6641 MB / 1.206 GB, free: 9.594 MB / 0.9669 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.0003067/0.6728, allocations: 143.1 kB / 1.206 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005596/0.6784, allocations: 3.119 MB / 1.209 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.6784, allocations: 4 kB / 1.209 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003135/0.6815, allocations: 1.948 MB / 1.211 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.6838, allocations: 473.6 kB / 1.212 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/0.6938, allocations: 6.46 MB / 1.218 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.6962, allocations: 2.34 MB / 1.22 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001235/0.6975, allocations: 358.1 kB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.6977, allocations: 87.44 kB / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.254e-06/0.6977, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.7077/1.405, allocations: 30.18 MB / 1.25 GB, free: 169.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches