Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001569/0.001569, allocations: 105.4 kB / 15.99 MB, free: 5.891 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.001517/0.001517, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.52/2.52, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.52 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3011, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008667/0.3098, allocations: 6.811 MB / 1.071 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004854/0.3147, allocations: 3.044 MB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.3151, allocations: 27.81 kB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.3174, allocations: 0.8904 MB / 1.075 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.3185, allocations: 477.6 kB / 1.075 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.3195, allocations: 409.9 kB / 1.076 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3209, allocations: 1.236 MB / 1.077 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.322, allocations: 0.7328 MB / 1.077 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.3227, allocations: 478.2 kB / 1.078 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.3233, allocations: 0.5409 MB / 1.078 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.3234, allocations: 68 kB / 1.078 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.3241, allocations: 379.2 kB / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.4967/0.8208, allocations: 305.1 kB / 1.079 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.8215, allocations: 453.1 kB / 1.08 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.8229, allocations: 0.9429 MB / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8229, allocations: 0.8125 kB / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8229, allocations: 0 / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.8229, allocations: 0 / 1.08 GB, free: 12.59 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001811/0.8247, allocations: 1.173 MB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.8248, allocations: 10.06 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.8262, allocations: 241 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.8269, allocations: 0.5552 MB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.827, allocations: 47.03 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.8271, allocations: 64.58 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.8285, allocations: 1.082 MB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.8286, allocations: 11.53 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.8286, allocations: 35.16 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.8288, allocations: 82.23 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.8299, allocations: 0.7538 MB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.8343, allocations: 5.885 MB / 1.09 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.8352, allocations: 0.5568 MB / 1.091 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.8357, allocations: 325.5 kB / 1.091 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.8357, allocations: 5.344 kB / 1.091 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.8357, allocations: 39.06 kB / 1.091 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.8357, allocations: 0 / 1.091 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003628/0.8394, allocations: 1.998 MB / 1.093 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.8394, allocations: 57.94 kB / 1.093 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.8401, allocations: 0.5595 MB / 1.094 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.8401, allocations: 36.86 kB / 1.094 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.8403, allocations: 416.4 kB / 1.094 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.8405, allocations: 171.5 kB / 1.094 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.8407, allocations: 128 kB / 1.094 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.8408, allocations: 378.4 kB / 1.095 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.8412, allocations: 276 kB / 1.095 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.8417, allocations: 491.3 kB / 1.095 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.8426, allocations: 0.8104 MB / 1.096 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8427, allocations: 2.656 kB / 1.096 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001737/0.8444, allocations: 1.086 MB / 1.097 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8444, allocations: 9.406 kB / 1.097 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.8444, allocations: 7.281 kB / 1.097 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008083/0.8453, allocations: 289 kB / 1.098 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.8457, allocations: 125.1 kB / 1.098 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.852, allocations: 7.145 MB / 1.105 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.8527, allocations: 40.33 kB / 1.105 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.8528, allocations: 27.69 kB / 1.105 GB, free: 12.85 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 (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.0004269/0.8532, allocations: 250.3 kB / 1.105 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.8534, allocations: 77 kB / 1.105 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.855, allocations: 0.8875 MB / 1.106 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.855, allocations: 8 kB / 1.106 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.855, allocations: 4.25 kB / 1.106 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.855, allocations: 3.188 kB / 1.106 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.8578, allocations: 1.725 MB / 1.108 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8578, allocations: 8.844 kB / 1.108 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.8581, allocations: 56.5 kB / 1.108 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007594/0.8589, allocations: 273.4 kB / 1.108 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.8589, allocations: 8.594 kB / 1.108 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007402/0.8663, allocations: 7.138 MB / 1.115 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.8664, allocations: 5.25 kB / 1.115 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.8683, allocations: 0.9803 MB / 1.116 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.8687, allocations: 195 kB / 1.116 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.8688, allocations: 8.281 kB / 1.116 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.8692, allocations: 38.53 kB / 1.116 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.8693, allocations: 43.03 kB / 1.116 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.8693, allocations: 11.69 kB / 1.116 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005301/0.8699, allocations: 389.6 kB / 1.117 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8699, allocations: 0 / 1.117 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008918/0.8708, allocations: 224.9 kB / 1.117 GB, free: 4.246 MB / 0.8575 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.0001712/0.871, allocations: 123.6 kB / 1.117 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.8732, allocations: 1.333 MB / 1.118 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8732, allocations: 4.062 kB / 1.118 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.8745, allocations: 0.8913 MB / 1.119 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.8756, allocations: 214.9 kB / 1.119 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.8783, allocations: 1.709 MB / 1.121 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/0.879, allocations: 1.009 MB / 1.122 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.8792, allocations: 46.48 kB / 1.122 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of SimCode: time 6.81e-07/0.8792, allocations: 0 / 1.122 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of Templates: time 0.02624/0.9055, allocations: 20.86 MB / 1.142 GB, free: 10.85 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches