Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001383/0.001383, allocations: 107.7 kB / 16.41 MB, free: 5.977 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.001367/0.001367, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 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.365/2.365, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8551, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03575/0.8909, allocations: 30.76 MB / 1.119 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.9156, allocations: 13.59 MB / 1.132 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004042/0.9196, allocations: 143.5 kB / 1.132 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009654/0.9294, allocations: 3.195 MB / 1.135 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009983/0.9394, allocations: 2.666 MB / 1.138 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006882/0.9463, allocations: 2.012 MB / 1.14 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.9597, allocations: 7.626 MB / 1.147 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.9741, allocations: 8.231 MB / 1.155 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008663/0.9828, allocations: 3.472 MB / 1.159 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007758/0.9906, allocations: 3.38 MB / 1.162 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002519/0.9932, allocations: 0.5999 MB / 1.163 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005864/0.9991, allocations: 1.492 MB / 1.164 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004901/1.004, allocations: 2.371 MB / 1.166 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00837/1.012, allocations: 2.881 MB / 1.169 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01656/1.029, allocations: 9.465 MB / 1.178 GB, free: 14.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/1.029, allocations: 0 / 1.178 GB, free: 14.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/1.029, allocations: 0 / 1.178 GB, free: 14.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003746/1.029, allocations: 1.062 kB / 1.178 GB, free: 14.29 MB / 0.92 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.01701/1.046, allocations: 5.134 MB / 1.183 GB, free: 10.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.047, allocations: 9.5 kB / 1.183 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00848/1.055, allocations: 1 MB / 1.184 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008478/1.064, allocations: 3.071 MB / 1.187 GB, free: 8.309 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/1.064, allocations: 314.4 kB / 1.188 GB, free: 8.164 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/1.066, allocations: 426.8 kB / 1.188 GB, free: 8.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/1.085, allocations: 6.794 MB / 1.195 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002335/1.085, allocations: 15.84 kB / 1.195 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001789/1.087, allocations: 184 kB / 1.195 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009982/1.088, allocations: 368 kB / 1.195 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/1.1, allocations: 5.118 MB / 1.2 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04322/1.143, allocations: 30.51 MB / 1.23 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/1.146, allocations: 1.403 MB / 1.231 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/1.148, allocations: 1.332 MB / 1.233 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/1.148, allocations: 13.31 kB / 1.233 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/1.148, allocations: 51.88 kB / 1.233 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.967e-06/1.148, allocations: 0 / 1.233 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09186/1.24, allocations: 23.08 MB / 1.255 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.24, allocations: 77.34 kB / 1.255 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/1.243, allocations: 2.066 MB / 1.257 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003694/1.244, allocations: 57.7 kB / 1.257 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.245, allocations: 2.014 MB / 1.259 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008348/1.246, allocations: 0.6739 MB / 1.26 GB, free: 11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/1.247, allocations: 416.1 kB / 1.26 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.247, allocations: 305.1 kB / 1.261 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/1.249, allocations: 1.426 MB / 1.262 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/1.252, allocations: 2.017 MB / 1.264 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005019/1.257, allocations: 3.696 MB / 1.268 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/1.257, allocations: 4 kB / 1.268 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01164/1.269, allocations: 5.657 MB / 1.273 GB, free: 12.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/1.269, allocations: 12 kB / 1.273 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/1.269, allocations: 16 kB / 1.273 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006973/1.276, allocations: 2.088 MB / 1.275 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.278, allocations: 383.3 kB / 1.276 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03983/1.318, allocations: 38.42 MB / 1.313 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.321, allocations: 127.9 kB / 1.313 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004801/1.321, allocations: 95.98 kB / 1.313 GB, free: 1.195 MB / 1.045 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.003185/1.324, allocations: 1.504 MB / 1.315 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/1.325, allocations: 284.6 kB / 1.315 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.336, allocations: 5.215 MB / 1.32 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.336, allocations: 20 kB / 1.32 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-05/1.336, allocations: 20 kB / 1.32 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/1.336, allocations: 11.97 kB / 1.32 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.355, allocations: 9.685 MB / 1.33 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.355, allocations: 8 kB / 1.33 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/1.356, allocations: 211.6 kB / 1.33 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/1.362, allocations: 1.838 MB / 1.332 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/1.362, allocations: 40.12 kB / 1.332 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03643/1.398, allocations: 37.44 MB / 1.368 GB, free: 6.043 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.398, allocations: 11.92 kB / 1.368 GB, free: 6.031 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009449/1.408, allocations: 4.909 MB / 1.373 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.41, allocations: 0.6148 MB / 1.374 GB, free: 336 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008274/1.41, allocations: 40.14 kB / 1.374 GB, free: 296 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.412, allocations: 131.8 kB / 1.374 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006943/1.413, allocations: 197.5 kB / 1.374 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.413, allocations: 56 kB / 1.374 GB, free: 15.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00238/1.416, allocations: 1.382 MB / 1.376 GB, free: 14.52 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.416, allocations: 0 / 1.376 GB, free: 14.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004436/1.42, allocations: 1.043 MB / 1.377 GB, free: 13.48 MB / 1.123 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.000396/1.421, allocations: 171.5 kB / 1.377 GB, free: 13.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.431, allocations: 6.292 MB / 1.383 GB, free: 6.777 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.431, allocations: 7.938 kB / 1.383 GB, free: 6.77 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006769/1.437, allocations: 4.398 MB / 1.387 GB, free: 2.145 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00517/1.443, allocations: 0.986 MB / 1.388 GB, free: 1.188 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/1.46, allocations: 8.604 MB / 1.397 GB, free: 8.496 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/1.465, allocations: 3.179 MB / 1.4 GB, free: 5.281 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/1.465, allocations: 163.4 kB / 1.4 GB, free: 5.121 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/1.465, allocations: 0 / 1.4 GB, free: 5.121 MB / 1.139 GB Notification: Performance of Templates: time 0.923/2.388, allocations: 465 MB / 1.854 GB, free: 197.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches