Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001487, allocations: 100.1 kB / 15.88 MB, free: 12 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.00201/0.00201, allocations: 200.1 kB / 16.79 MB, free: 6.828 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.539 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.715/2.715, allocations: 437 MB / 0.7106 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7289, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01008/0.739, allocations: 6.813 MB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005588/0.7446, allocations: 3.083 MB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.7454, allocations: 27.81 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.7481, allocations: 0.8874 MB / 1.028 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.7496, allocations: 477.6 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.7508, allocations: 403.2 kB / 1.029 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.7527, allocations: 1.595 MB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.7539, allocations: 0.6517 MB / 1.031 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009736/0.7548, allocations: 414.3 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009074/0.7558, allocations: 0.5254 MB / 1.032 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.756, allocations: 48 kB / 1.032 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.757, allocations: 459 kB / 1.032 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.7574, allocations: 295.1 kB / 1.033 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.758, allocations: 425.8 kB / 1.033 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.7591, allocations: 0.9391 MB / 1.034 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7591, allocations: 0 / 1.034 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.81e-07/0.7591, allocations: 0 / 1.034 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.7591, allocations: 0 / 1.034 GB, free: 1.746 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002218/0.7614, allocations: 1.165 MB / 1.035 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7614, allocations: 12.03 kB / 1.035 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.7631, allocations: 235.6 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.7642, allocations: 0.553 MB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.7643, allocations: 53.67 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.7644, allocations: 64.28 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.7661, allocations: 1.089 MB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.7662, allocations: 4 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.7662, allocations: 31.98 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.7664, allocations: 85.25 kB / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.7677, allocations: 0.762 MB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005778/0.7735, allocations: 5.89 MB / 1.044 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.7745, allocations: 0.5555 MB / 1.044 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.775, allocations: 329.5 kB / 1.044 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.775, allocations: 4.438 kB / 1.044 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.7751, allocations: 42.94 kB / 1.044 GB, free: 6.234 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.7751, allocations: 0 / 1.044 GB, free: 6.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003934/0.779, allocations: 1.982 MB / 1.046 GB, free: 4.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.7791, allocations: 59.83 kB / 1.046 GB, free: 4.09 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.7797, allocations: 0.5664 MB / 1.047 GB, free: 3.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.7798, allocations: 37.7 kB / 1.047 GB, free: 3.473 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.7801, allocations: 422.9 kB / 1.047 GB, free: 3.055 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.7802, allocations: 169.6 kB / 1.048 GB, free: 2.887 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.7804, allocations: 126.5 kB / 1.048 GB, free: 2.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7806, allocations: 378.7 kB / 1.048 GB, free: 2.379 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.781, allocations: 277.8 kB / 1.048 GB, free: 2.105 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.7816, allocations: 497.5 kB / 1.049 GB, free: 1.523 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.7828, allocations: 0.8132 MB / 1.05 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7828, allocations: 0 / 1.05 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001911/0.7847, allocations: 1.079 MB / 1.051 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.7847, allocations: 8 kB / 1.051 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7847, allocations: 12.09 kB / 1.051 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000904/0.7857, allocations: 279.2 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.7862, allocations: 127.7 kB / 1.051 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.7926, allocations: 6.602 MB / 1.058 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.7932, allocations: 39.95 kB / 1.058 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.7933, allocations: 28 kB / 1.058 GB, free: 7.879 MB / 0.8106 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.7937, allocations: 253.6 kB / 1.058 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.7939, allocations: 75.16 kB / 1.058 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.7956, allocations: 0.8886 MB / 1.059 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7956, allocations: 4 kB / 1.059 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.7956, allocations: 4 kB / 1.059 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.7956, allocations: 7.984 kB / 1.059 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.7984, allocations: 1.721 MB / 1.06 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7985, allocations: 7.938 kB / 1.06 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.7987, allocations: 67.88 kB / 1.061 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007648/0.7995, allocations: 263.4 kB / 1.061 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.7996, allocations: 12 kB / 1.061 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006308/0.8059, allocations: 6.58 MB / 1.067 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8059, allocations: 0 / 1.067 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.8075, allocations: 0.9874 MB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.8079, allocations: 188.2 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.808, allocations: 19.92 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.8084, allocations: 27.97 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8085, allocations: 43.89 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.8085, allocations: 15.98 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004613/0.809, allocations: 395.1 kB / 1.069 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.809, allocations: 0 / 1.069 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000816/0.8098, allocations: 224 kB / 1.069 GB, free: 11.4 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.81, allocations: 115.2 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.812, allocations: 1.268 MB / 1.07 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.812, allocations: 3.938 kB / 1.07 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.8133, allocations: 0.8893 MB / 1.071 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.8143, allocations: 208.5 kB / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.8169, allocations: 1.722 MB / 1.073 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.8176, allocations: 1.009 MB / 1.074 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.8177, allocations: 51.42 kB / 1.074 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.8177, allocations: 0 / 1.074 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.02557/0.8433, allocations: 20.84 MB / 1.095 GB, free: 1.145 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches