Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 181.5 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7218, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0147/0.7366, allocations: 14.14 MB / 0.9695 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.7532, allocations: 10.23 MB / 0.9795 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.755, allocations: 51.16 kB / 0.9796 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.7564, allocations: 290.9 kB / 0.9798 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006169/0.7626, allocations: 1.604 MB / 0.9814 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.7648, allocations: 0.6857 MB / 0.9821 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004909/0.7697, allocations: 3.408 MB / 0.9854 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.7734, allocations: 1.982 MB / 0.9873 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.7757, allocations: 1.328 MB / 0.9886 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.778, allocations: 1.082 MB / 0.9897 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000406/0.7784, allocations: 72 kB / 0.9898 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.7804, allocations: 0.8538 MB / 0.9906 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008799/0.7813, allocations: 0.506 MB / 0.9911 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.7831, allocations: 0.8602 MB / 0.9919 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.7859, allocations: 2.147 MB / 0.994 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7859, allocations: 4 kB / 0.994 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7859, allocations: 0 / 0.994 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001029/0.786, allocations: 4 kB / 0.994 GB, free: 7.977 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00423/0.7902, allocations: 1.828 MB / 0.9958 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7903, allocations: 12.03 kB / 0.9958 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.8027, allocations: 2.175 MB / 0.998 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.8057, allocations: 1.213 MB / 0.9991 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.8058, allocations: 86.69 kB / 0.9992 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.8063, allocations: 124.1 kB / 0.9993 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006682/0.813, allocations: 2.69 MB / 1.002 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-05/0.8131, allocations: 7.906 kB / 1.002 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.8134, allocations: 59.91 kB / 1.002 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006881/0.814, allocations: 202.1 kB / 1.002 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008348/0.8224, allocations: 2.842 MB / 1.005 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.8391, allocations: 10.56 MB / 1.015 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007232/0.8463, allocations: 2.391 MB / 1.018 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.8498, allocations: 1.303 MB / 1.019 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.278e-05/0.8499, allocations: 13 kB / 1.019 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.8499, allocations: 43.56 kB / 1.019 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.8499, allocations: 0 / 1.019 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.06198/0.9119, allocations: 16.53 MB / 1.035 GB, free: 12.85 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.912, allocations: 68.72 kB / 1.035 GB, free: 12.77 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.9138, allocations: 1.176 MB / 1.036 GB, free: 11.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.914, allocations: 49.7 kB / 1.036 GB, free: 11.53 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/0.9146, allocations: 0.7359 MB / 1.037 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005895/0.9152, allocations: 0.5159 MB / 1.038 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.9155, allocations: 121.6 kB / 1.038 GB, free: 10.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.9156, allocations: 309.1 kB / 1.038 GB, free: 9.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.9194, allocations: 1.534 MB / 1.04 GB, free: 8.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/0.9233, allocations: 1.795 MB / 1.041 GB, free: 6.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/0.9313, allocations: 3.412 MB / 1.045 GB, free: 2.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.9313, allocations: 3.938 kB / 1.045 GB, free: 2.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01463/0.946, allocations: 5.32 MB / 1.05 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.946, allocations: 14.03 kB / 1.05 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.946, allocations: 8 kB / 1.05 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/0.9533, allocations: 1.872 MB / 1.052 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.9554, allocations: 431.2 kB / 1.052 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02936/0.9848, allocations: 22.2 MB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.9876, allocations: 319.5 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.9879, allocations: 71.95 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001119/0.989, allocations: 461.5 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.9895, allocations: 173.9 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/1.006, allocations: 5.367 MB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.006, allocations: 16.08 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-05/1.006, allocations: 20 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/1.006, allocations: 11.97 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.024, allocations: 7.48 MB / 1.087 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.024, allocations: 4 kB / 1.087 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.026, allocations: 363.7 kB / 1.088 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006503/1.033, allocations: 1.711 MB / 1.089 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/1.033, allocations: 43.91 kB / 1.089 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03161/1.064, allocations: 21.37 MB / 1.11 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.064, allocations: 4.062 kB / 1.11 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.079, allocations: 4.932 MB / 1.115 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.08, allocations: 494.8 kB / 1.116 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005307/1.081, allocations: 31.98 kB / 1.116 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.083, allocations: 323.5 kB / 1.116 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005781/1.084, allocations: 157 kB / 1.116 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.084, allocations: 47.97 kB / 1.116 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001428/1.086, allocations: 0.7938 MB / 1.117 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/1.086, allocations: 0 / 1.117 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002728/1.088, allocations: 0.6562 MB / 1.117 GB, free: 5.762 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003946/1.089, allocations: 148.9 kB / 1.118 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.102, allocations: 5.171 MB / 1.123 GB, free: 344 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.102, allocations: 0 / 1.123 GB, free: 344 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007824/1.11, allocations: 3.363 MB / 1.126 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/1.113, allocations: 0.5199 MB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.124, allocations: 5.166 MB / 1.132 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.126, allocations: 1.564 MB / 1.133 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/1.126, allocations: 135.3 kB / 1.133 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of SimCode: time 7.62e-07/1.126, allocations: 0 / 1.133 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of Templates: time 0.09654/1.223, allocations: 85.5 MB / 1.217 GB, free: 15.96 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches