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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 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.001866/0.001866, allocations: 192 kB / 16.53 MB, free: 6.391 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.611/1.611, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 71.88 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7711, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01639/0.7875, allocations: 14.78 MB / 0.964 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.8057, allocations: 10.34 MB / 0.9741 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.8079, allocations: 61.41 kB / 0.9742 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004895/0.8128, allocations: 1.684 MB / 0.9758 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.8198, allocations: 1.811 MB / 0.9776 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.8225, allocations: 0.7647 MB / 0.9783 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.8274, allocations: 2.737 MB / 0.981 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.8301, allocations: 1.433 MB / 0.9824 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.8332, allocations: 1.495 MB / 0.9839 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.8363, allocations: 1.156 MB / 0.985 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007895/0.8371, allocations: 160 kB / 0.9852 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.8398, allocations: 0.7877 MB / 0.9859 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.8412, allocations: 0.6115 MB / 0.9865 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.8439, allocations: 0.9561 MB / 0.9875 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005302/0.8492, allocations: 2.733 MB / 0.9901 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.8492, allocations: 4 kB / 0.9901 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8492, allocations: 0 / 0.9901 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001049/0.8493, allocations: 0 / 0.9901 GB, free: 8.172 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.004603/0.8539, allocations: 2.178 MB / 0.9923 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.854, allocations: 8.031 kB / 0.9923 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.8671, allocations: 2.101 MB / 0.9943 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.8702, allocations: 1.217 MB / 0.9955 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.8703, allocations: 90.67 kB / 0.9956 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.8706, allocations: 116.1 kB / 0.9957 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006328/0.8769, allocations: 2.674 MB / 0.9983 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.877, allocations: 11.94 kB / 0.9983 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.8772, allocations: 51.98 kB / 0.9984 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007167/0.8779, allocations: 194.1 kB / 0.9986 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007945/0.8858, allocations: 2.787 MB / 1.001 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.9018, allocations: 10.52 MB / 1.012 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006946/0.9088, allocations: 2.336 MB / 1.014 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.912, allocations: 1.28 MB / 1.015 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.9121, allocations: 12.98 kB / 1.015 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.9122, allocations: 47.5 kB / 1.015 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 3.747e-06/0.9122, allocations: 0 / 1.015 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.06246/0.9746, allocations: 16.47 MB / 1.031 GB, free: 13.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.9747, allocations: 68.72 kB / 1.031 GB, free: 12.95 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.9765, allocations: 1.172 MB / 1.032 GB, free: 11.76 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.9767, allocations: 49.7 kB / 1.032 GB, free: 11.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.9773, allocations: 0.7552 MB / 1.033 GB, free: 10.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006654/0.978, allocations: 0.5121 MB / 1.034 GB, free: 10.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.9786, allocations: 287.4 kB / 1.034 GB, free: 10.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9787, allocations: 305.1 kB / 1.034 GB, free: 9.844 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.9828, allocations: 1.51 MB / 1.036 GB, free: 8.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.9867, allocations: 1.78 MB / 1.038 GB, free: 6.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/0.9949, allocations: 3.365 MB / 1.041 GB, free: 2.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.9949, allocations: 4 kB / 1.041 GB, free: 2.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0142/1.009, allocations: 5.276 MB / 1.046 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/1.009, allocations: 8.875 kB / 1.046 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.009, allocations: 8 kB / 1.046 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007261/1.017, allocations: 1.899 MB / 1.048 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.019, allocations: 415.2 kB / 1.048 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03209/1.051, allocations: 24.13 MB / 1.072 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/1.055, allocations: 315.5 kB / 1.072 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/1.056, allocations: 63.97 kB / 1.072 GB, free: 1.699 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.001432/1.057, allocations: 475.1 kB / 1.073 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/1.058, allocations: 177.8 kB / 1.073 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/1.079, allocations: 5.32 MB / 1.078 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/1.08, allocations: 16 kB / 1.078 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.287e-05/1.08, allocations: 16 kB / 1.078 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/1.08, allocations: 7.969 kB / 1.078 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02783/1.107, allocations: 7.433 MB / 1.085 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/1.108, allocations: 0 / 1.085 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002655/1.11, allocations: 351.4 kB / 1.086 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009158/1.119, allocations: 1.724 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/1.12, allocations: 43.95 kB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/1.151, allocations: 23.32 MB / 1.11 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.151, allocations: 0 / 1.11 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.164, allocations: 4.889 MB / 1.115 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.165, allocations: 498.8 kB / 1.115 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/1.166, allocations: 28.47 kB / 1.115 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.168, allocations: 319.4 kB / 1.116 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/1.169, allocations: 153 kB / 1.116 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.169, allocations: 55.97 kB / 1.116 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001362/1.17, allocations: 0.7937 MB / 1.117 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 7.938 kB / 1.117 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002719/1.173, allocations: 0.6523 MB / 1.117 GB, free: 2.043 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.0004127/1.173, allocations: 139.2 kB / 1.117 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.186, allocations: 5.428 MB / 1.123 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.186, allocations: 4 kB / 1.123 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007395/1.194, allocations: 3.347 MB / 1.126 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.197, allocations: 0.5694 MB / 1.127 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/1.206, allocations: 4.316 MB / 1.131 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.207, allocations: 1.572 MB / 1.132 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001721/1.209, allocations: 386.4 kB / 1.133 GB, free: 2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/1.21, allocations: 107.4 kB / 1.133 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/1.21, allocations: 0 / 1.133 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of Templates: time 0.07344/1.283, allocations: 44.88 MB / 1.177 GB, free: 5.484 MB / 0.9356 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/jenkins/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