Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001718/0.001719, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.535/2.535, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 60.34 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 151.7 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04174/0.4044, allocations: 30.77 MB / 1.049 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.4288, allocations: 13.59 MB / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.4322, allocations: 143.2 kB / 1.062 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.008569/0.4409, allocations: 3.198 MB / 1.065 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.4491, allocations: 2.663 MB / 1.068 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005521/0.4546, allocations: 2.01 MB / 1.07 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.54/0.9946, allocations: 7.611 MB / 1.077 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01578/1.01, allocations: 8.228 MB / 1.085 GB, free: 18.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009119/1.02, allocations: 3.411 MB / 1.089 GB, free: 18.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008182/1.028, allocations: 3.384 MB / 1.092 GB, free: 17.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002313/1.03, allocations: 0.596 MB / 1.093 GB, free: 17.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/1.036, allocations: 1.494 MB / 1.094 GB, free: 17.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004304/1.04, allocations: 2.365 MB / 1.096 GB, free: 17.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007629/1.048, allocations: 2.881 MB / 1.099 GB, free: 16.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/1.065, allocations: 9.46 MB / 1.108 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/1.065, allocations: 8 kB / 1.108 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.893e-06/1.065, allocations: 1.188 kB / 1.108 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004096/1.066, allocations: 0 / 1.108 GB, free: 15.97 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02564/1.091, allocations: 5.13 MB / 1.113 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.091, allocations: 17.55 kB / 1.113 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008197/1.1, allocations: 0.9931 MB / 1.114 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009259/1.109, allocations: 3.08 MB / 1.117 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/1.109, allocations: 314 kB / 1.118 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/1.111, allocations: 424 kB / 1.118 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/1.127, allocations: 6.791 MB / 1.125 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/1.127, allocations: 20.88 kB / 1.125 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006233/1.128, allocations: 187.1 kB / 1.125 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009196/1.129, allocations: 369 kB / 1.125 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/1.14, allocations: 5.116 MB / 1.13 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04246/1.183, allocations: 30.51 MB / 1.16 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/1.185, allocations: 1.395 MB / 1.161 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/1.187, allocations: 1.324 MB / 1.163 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-05/1.187, allocations: 18.97 kB / 1.163 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/1.187, allocations: 52.91 kB / 1.163 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=130): time 3.667e-06/1.187, allocations: 0 / 1.163 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=199): time 0.07927/1.266, allocations: 23.08 MB / 1.185 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/1.266, allocations: 73.41 kB / 1.185 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/1.27, allocations: 2.058 MB / 1.187 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004706/1.27, allocations: 61.7 kB / 1.188 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.272, allocations: 2.018 MB / 1.19 GB, free: 280 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/1.273, allocations: 0.6743 MB / 1.19 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/1.273, allocations: 412.2 kB / 1.191 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/1.273, allocations: 305.1 kB / 1.191 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/1.275, allocations: 1.43 MB / 1.192 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/1.278, allocations: 2.011 MB / 1.194 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/1.283, allocations: 3.701 MB / 1.198 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.283, allocations: 4 kB / 1.198 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01086/1.293, allocations: 5.657 MB / 1.203 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/1.293, allocations: 20.25 kB / 1.203 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/1.294, allocations: 16 kB / 1.203 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006582/1.3, allocations: 2.082 MB / 1.205 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.302, allocations: 377.7 kB / 1.206 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03791/1.34, allocations: 38.44 MB / 1.243 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.343, allocations: 127.9 kB / 1.243 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/1.343, allocations: 95.98 kB / 1.244 GB, free: 6.277 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003028/1.346, allocations: 1.507 MB / 1.245 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/1.347, allocations: 276.7 kB / 1.245 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009976/1.357, allocations: 5.213 MB / 1.25 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.357, allocations: 20 kB / 1.25 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.794e-05/1.357, allocations: 19.94 kB / 1.25 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/1.357, allocations: 7.969 kB / 1.25 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/1.375, allocations: 9.673 MB / 1.26 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.375, allocations: 8 kB / 1.26 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008336/1.376, allocations: 214.2 kB / 1.26 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005522/1.381, allocations: 1.852 MB / 1.262 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.381, allocations: 36 kB / 1.262 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03688/1.418, allocations: 37.44 MB / 1.298 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.418, allocations: 16.34 kB / 1.298 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009091/1.428, allocations: 4.902 MB / 1.303 GB, free: 6.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.43, allocations: 0.6226 MB / 1.304 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/1.43, allocations: 40 kB / 1.304 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.432, allocations: 127.8 kB / 1.304 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006842/1.432, allocations: 194.1 kB / 1.304 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.432, allocations: 56 kB / 1.304 GB, free: 5.539 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002016/1.434, allocations: 1.379 MB / 1.306 GB, free: 4.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.434, allocations: 0 / 1.306 GB, free: 4.152 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003883/1.438, allocations: 1.051 MB / 1.307 GB, free: 3.102 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003402/1.439, allocations: 168.3 kB / 1.307 GB, free: 2.941 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.449, allocations: 6.295 MB / 1.313 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.449, allocations: 4.062 kB / 1.313 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.006914/1.456, allocations: 4.401 MB / 1.317 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.46, allocations: 0.9895 MB / 1.318 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.476, allocations: 8.036 MB / 1.326 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/1.48, allocations: 3.128 MB / 1.329 GB, free: 11.69 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002243/1.482, allocations: 0.5198 MB / 1.33 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/1.482, allocations: 147.4 kB / 1.33 GB, free: 11.02 MB / 1.045 GB Notification: Performance of SimCode: time 1.462e-06/1.482, allocations: 3.938 kB / 1.33 GB, free: 11.02 MB / 1.045 GB Notification: Performance of Templates: time 0.09818/1.581, allocations: 57.72 MB / 1.386 GB, free: 2.348 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches