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.001195/0.001195, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001156/0.001156, allocations: 191 kB / 17.29 MB, free: 5.516 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.7 kB / 0.814 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01965/0.3411, allocations: 14.78 MB / 0.9656 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.3577, allocations: 10.34 MB / 0.9757 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.3598, allocations: 59.62 kB / 0.9757 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.3649, allocations: 1.696 MB / 0.9774 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.3716, allocations: 1.802 MB / 0.9791 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.374, allocations: 0.7562 MB / 0.9799 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004817/0.3789, allocations: 2.754 MB / 0.9826 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.3813, allocations: 1.415 MB / 0.9839 GB, free: 6.309 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.384, allocations: 1.496 MB / 0.9854 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.3864, allocations: 1.167 MB / 0.9866 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005929/0.387, allocations: 163.9 kB / 0.9867 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3892, allocations: 0.7877 MB / 0.9875 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3903, allocations: 0.6076 MB / 0.9881 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.3924, allocations: 0.9561 MB / 0.989 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.398, allocations: 2.768 MB / 0.9917 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.398, allocations: 0 / 0.9917 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.825e-06/0.398, allocations: 0 / 0.9917 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.00014/0.3981, allocations: 0 / 0.9917 GB, free: 14.34 MB / 0.7794 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.006101/0.4042, allocations: 2.17 MB / 0.9938 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4043, allocations: 12.03 kB / 0.9938 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.4152, allocations: 2.101 MB / 0.9959 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.4187, allocations: 1.303 MB / 0.9972 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.4188, allocations: 94.67 kB / 0.9973 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.419, allocations: 124.1 kB / 0.9974 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005692/0.4247, allocations: 2.663 MB / 1 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.4248, allocations: 11.92 kB / 1 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.425, allocations: 59.97 kB / 1 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000574/0.4256, allocations: 190.1 kB / 1 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007018/0.4326, allocations: 2.791 MB / 1.003 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.4477, allocations: 10.47 MB / 1.013 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/0.4538, allocations: 2.34 MB / 1.015 GB, free: 5.137 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00292/0.4567, allocations: 1.284 MB / 1.017 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.4568, allocations: 13 kB / 1.017 GB, free: 3.836 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4569, allocations: 39.56 kB / 1.017 GB, free: 3.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=89): time 2.945e-06/0.4569, allocations: 0 / 1.017 GB, free: 3.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=153): time 0.05647/0.5134, allocations: 16.48 MB / 1.033 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5135, allocations: 68.72 kB / 1.033 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.5156, allocations: 1.168 MB / 1.034 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.5158, allocations: 53.7 kB / 1.034 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000576/0.5164, allocations: 0.7475 MB / 1.035 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005475/0.517, allocations: 0.5121 MB / 1.035 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/0.5176, allocations: 291.4 kB / 1.036 GB, free: 280 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5177, allocations: 305.1 kB / 1.036 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.5211, allocations: 1.51 MB / 1.037 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/0.5246, allocations: 1.78 MB / 1.039 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007248/0.5319, allocations: 3.369 MB / 1.042 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.5319, allocations: 0 / 1.042 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01341/0.5454, allocations: 5.28 MB / 1.048 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.5454, allocations: 8.875 kB / 1.048 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.5455, allocations: 7.938 kB / 1.048 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007069/0.5525, allocations: 1.88 MB / 1.049 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.5546, allocations: 419.2 kB / 1.05 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03368/0.5883, allocations: 24.13 MB / 1.073 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.5911, allocations: 307.6 kB / 1.074 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/0.5916, allocations: 71.95 kB / 1.074 GB, free: 7.844 MB / 0.8575 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.001413/0.593, allocations: 459.4 kB / 1.074 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006567/0.5937, allocations: 173.9 kB / 1.074 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.6075, allocations: 5.328 MB / 1.08 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.6075, allocations: 16 kB / 1.08 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.492e-05/0.6076, allocations: 24 kB / 1.08 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.6076, allocations: 7.969 kB / 1.08 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5998/1.207, allocations: 7.417 MB / 1.087 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.208, allocations: 4.703 kB / 1.087 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.209, allocations: 356.8 kB / 1.087 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006368/1.216, allocations: 1.709 MB / 1.089 GB, free: 123.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.216, allocations: 43.03 kB / 1.089 GB, free: 123.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02661/1.243, allocations: 23.29 MB / 1.112 GB, free: 107.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.243, allocations: 2.344 kB / 1.112 GB, free: 107.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.256, allocations: 4.89 MB / 1.116 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.258, allocations: 492.4 kB / 1.117 GB, free: 105.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/1.258, allocations: 29.83 kB / 1.117 GB, free: 105.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.261, allocations: 319.1 kB / 1.117 GB, free: 105.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007071/1.261, allocations: 157.2 kB / 1.117 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.262, allocations: 59.41 kB / 1.117 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001355/1.263, allocations: 0.7892 MB / 1.118 GB, free: 105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.462e-06/1.263, allocations: 0 / 1.118 GB, free: 105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002396/1.265, allocations: 0.6587 MB / 1.119 GB, free: 104.9 MB / 0.8575 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.0003299/1.266, allocations: 146.1 kB / 1.119 GB, free: 104.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.276, allocations: 5.154 MB / 1.124 GB, free: 102.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.276, allocations: 1.312 kB / 1.124 GB, free: 102.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00666/1.283, allocations: 3.358 MB / 1.127 GB, free: 100.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.286, allocations: 0.559 MB / 1.128 GB, free: 100.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008471/1.294, allocations: 4.292 MB / 1.132 GB, free: 98.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.295, allocations: 1.567 MB / 1.134 GB, free: 98.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001363/1.297, allocations: 384.4 kB / 1.134 GB, free: 97.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/1.297, allocations: 110.2 kB / 1.134 GB, free: 97.97 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/1.297, allocations: 3.938 kB / 1.134 GB, free: 97.96 MB / 0.8575 GB Notification: Performance of Templates: time 0.05671/1.354, allocations: 44.86 MB / 1.178 GB, free: 62.68 MB / 0.8575 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 -s gbode -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