Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.005672/0.005672, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001229/0.001229, allocations: 198.6 kB / 16.67 MB, free: 5.52 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9751/0.9763, allocations: 140.4 MB / 1.088 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008798/0.9852, allocations: 6.8 MB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006755/0.992, allocations: 3.066 MB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.993, allocations: 32.06 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.9959, allocations: 0.958 MB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.9979, allocations: 0.4975 MB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.9995, allocations: 443.3 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002126/1.002, allocations: 1.237 MB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/1.003, allocations: 0.6539 MB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/1.004, allocations: 470.9 kB / 1.102 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/1.005, allocations: 0.5314 MB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/1.005, allocations: 66.69 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/1.006, allocations: 378.9 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/1.007, allocations: 310.3 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000768/1.007, allocations: 452.6 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/1.01, allocations: 1.219 MB / 1.105 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.01, allocations: 4.594 kB / 1.105 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.743e-06/1.01, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.236e-05/1.01, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.8731 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.002726/1.013, allocations: 1.166 MB / 1.106 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.013, allocations: 9.469 kB / 1.106 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/1.014, allocations: 242.7 kB / 1.106 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.016, allocations: 0.608 MB / 1.107 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/1.016, allocations: 47 kB / 1.107 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.016, allocations: 62.84 kB / 1.107 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.018, allocations: 1.089 MB / 1.108 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/1.018, allocations: 6.625 kB / 1.108 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/1.018, allocations: 30.38 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/1.018, allocations: 84.09 kB / 1.108 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.019, allocations: 0.7529 MB / 1.109 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008455/1.028, allocations: 5.881 MB / 1.114 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.03, allocations: 0.5479 MB / 1.115 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/1.03, allocations: 325.2 kB / 1.115 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/1.03, allocations: 8.844 kB / 1.115 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/1.03, allocations: 42.03 kB / 1.115 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 4.479e-06/1.03, allocations: 0 / 1.115 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004901/1.035, allocations: 1.99 MB / 1.117 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.035, allocations: 61.11 kB / 1.117 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/1.036, allocations: 0.5557 MB / 1.118 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/1.036, allocations: 36.52 kB / 1.118 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/1.037, allocations: 418.9 kB / 1.118 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.037, allocations: 170.6 kB / 1.118 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.037, allocations: 126.1 kB / 1.118 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.037, allocations: 381.6 kB / 1.119 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/1.038, allocations: 275.2 kB / 1.119 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/1.039, allocations: 493.8 kB / 1.12 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/1.04, allocations: 0.8107 MB / 1.12 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.04, allocations: 2.312 kB / 1.12 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002185/1.042, allocations: 1.084 MB / 1.121 GB, free: 72 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.042, allocations: 10.12 kB / 1.121 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.042, allocations: 8.016 kB / 1.121 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00096/1.043, allocations: 281.9 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/1.044, allocations: 130.5 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/1.051, allocations: 7.127 MB / 1.129 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008551/1.052, allocations: 39.41 kB / 1.129 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/1.052, allocations: 31.14 kB / 1.129 GB, free: 9.715 MB / 0.8887 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.0004854/1.053, allocations: 256.5 kB / 1.129 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.053, allocations: 72.55 kB / 1.129 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/1.054, allocations: 0.8958 MB / 1.13 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.054, allocations: 5.781 kB / 1.13 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.054, allocations: 7.266 kB / 1.13 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.055, allocations: 6.703 kB / 1.13 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/1.058, allocations: 1.727 MB / 1.132 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.058, allocations: 1.406 kB / 1.132 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/1.058, allocations: 68.88 kB / 1.132 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008377/1.059, allocations: 261.2 kB / 1.132 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.059, allocations: 13.28 kB / 1.132 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007521/1.067, allocations: 7.107 MB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.067, allocations: 2.719 kB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.069, allocations: 0.991 MB / 1.14 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/1.069, allocations: 197.7 kB / 1.14 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/1.069, allocations: 9.594 kB / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/1.07, allocations: 33.22 kB / 1.14 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.07, allocations: 41.81 kB / 1.14 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/1.07, allocations: 15.5 kB / 1.14 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006137/1.071, allocations: 393.4 kB / 1.141 GB, free: 1 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.21e-07/1.071, allocations: 0 / 1.141 GB, free: 1 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001138/1.072, allocations: 221.9 kB / 1.141 GB, free: 0.9805 MB / 0.8887 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.0001965/1.072, allocations: 114.2 kB / 1.141 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.074, allocations: 1.282 MB / 1.142 GB, free: 128 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.074, allocations: 5.25 kB / 1.142 GB, free: 124 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.076, allocations: 0.8884 MB / 1.143 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.077, allocations: 227.3 kB / 1.143 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/1.079, allocations: 1.331 MB / 1.145 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/1.08, allocations: 1.01 MB / 1.146 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004047/1.081, allocations: 118.7 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.081, allocations: 42.47 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 9.92e-07/1.081, allocations: 0 / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.03146/1.112, allocations: 11.32 MB / 1.157 GB, free: 10.94 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches