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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00153/0.00153, allocations: 108 kB / 16.27 MB, free: 6.406 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.001659/0.001659, allocations: 193 kB / 17.2 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437.1 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 68.25 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2873, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03625/0.3236, allocations: 30.78 MB / 1.048 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.3459, allocations: 13.6 MB / 1.061 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.3494, allocations: 143.2 kB / 1.061 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009826/0.3593, allocations: 3.199 MB / 1.065 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.3678, allocations: 2.659 MB / 1.067 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.3735, allocations: 2.003 MB / 1.069 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5335/0.907, allocations: 7.613 MB / 1.077 GB, free: 19.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.9182, allocations: 8.287 MB / 1.085 GB, free: 17.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006254/0.9245, allocations: 3.397 MB / 1.088 GB, free: 17.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006844/0.9314, allocations: 3.385 MB / 1.091 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.9335, allocations: 0.5954 MB / 1.092 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.9382, allocations: 1.495 MB / 1.093 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003824/0.942, allocations: 2.36 MB / 1.096 GB, free: 16.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005974/0.948, allocations: 2.879 MB / 1.098 GB, free: 16.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.962, allocations: 9.397 MB / 1.108 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.9621, allocations: 0 / 1.108 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9621, allocations: 0 / 1.108 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003169/0.9624, allocations: 1.375 kB / 1.108 GB, free: 15.29 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.01522/0.9777, allocations: 5.144 MB / 1.113 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.9777, allocations: 14.69 kB / 1.113 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006662/0.9844, allocations: 0.9897 MB / 1.114 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006607/0.991, allocations: 2.898 MB / 1.116 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.9913, allocations: 317 kB / 1.117 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.9929, allocations: 420.9 kB / 1.117 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.008, allocations: 6.793 MB / 1.124 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/1.008, allocations: 19.84 kB / 1.124 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008618/1.009, allocations: 184 kB / 1.124 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009948/1.01, allocations: 376.7 kB / 1.124 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/1.021, allocations: 5.107 MB / 1.129 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0401/1.061, allocations: 30.74 MB / 1.159 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/1.064, allocations: 1.392 MB / 1.161 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.065, allocations: 1.326 MB / 1.162 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/1.066, allocations: 18.03 kB / 1.162 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/1.066, allocations: 58.38 kB / 1.162 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=130): time 3.677e-06/1.066, allocations: 0 / 1.162 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=199): time 0.09492/1.161, allocations: 23.08 MB / 1.185 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.161, allocations: 74.72 kB / 1.185 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/1.165, allocations: 2.062 MB / 1.187 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000435/1.165, allocations: 57.7 kB / 1.187 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/1.167, allocations: 2.011 MB / 1.189 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009284/1.167, allocations: 0.6785 MB / 1.189 GB, free: 36 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/1.169, allocations: 412.1 kB / 1.19 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.169, allocations: 317 kB / 1.19 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/1.171, allocations: 1.426 MB / 1.191 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/1.174, allocations: 2.016 MB / 1.193 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/1.179, allocations: 3.689 MB / 1.197 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.179, allocations: 4 kB / 1.197 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01218/1.191, allocations: 5.659 MB / 1.203 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/1.191, allocations: 12 kB / 1.203 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/1.191, allocations: 16.91 kB / 1.203 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007324/1.198, allocations: 2.103 MB / 1.205 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.2, allocations: 380.7 kB / 1.205 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04025/1.241, allocations: 38.45 MB / 1.243 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/1.244, allocations: 127.9 kB / 1.243 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005068/1.244, allocations: 92 kB / 1.243 GB, free: 6.684 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.003481/1.248, allocations: 1.505 MB / 1.244 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000816/1.249, allocations: 288.6 kB / 1.244 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/1.26, allocations: 5.206 MB / 1.25 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/1.26, allocations: 23.94 kB / 1.25 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.534e-05/1.26, allocations: 16 kB / 1.25 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/1.26, allocations: 11.95 kB / 1.25 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/1.281, allocations: 9.673 MB / 1.259 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.281, allocations: 8 kB / 1.259 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/1.282, allocations: 220.8 kB / 1.259 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00638/1.288, allocations: 1.855 MB / 1.261 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/1.289, allocations: 39.98 kB / 1.261 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03961/1.328, allocations: 37.47 MB / 1.298 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.328, allocations: 10.56 kB / 1.298 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.339, allocations: 4.916 MB / 1.303 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.341, allocations: 0.6186 MB / 1.303 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.342, allocations: 40 kB / 1.303 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.345, allocations: 127.8 kB / 1.303 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008433/1.345, allocations: 197.4 kB / 1.303 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/1.346, allocations: 52 kB / 1.304 GB, free: 5.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002716/1.348, allocations: 1.378 MB / 1.305 GB, free: 4.508 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/1.348, allocations: 0 / 1.305 GB, free: 4.508 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005072/1.353, allocations: 1.047 MB / 1.306 GB, free: 3.461 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.0005273/1.354, allocations: 174.5 kB / 1.306 GB, free: 3.297 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.367, allocations: 7.212 MB / 1.313 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.367, allocations: 4.875 kB / 1.313 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.007291/1.374, allocations: 4.401 MB / 1.317 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005928/1.38, allocations: 0.9913 MB / 1.318 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.399, allocations: 8.694 MB / 1.327 GB, free: 13.62 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005402/1.404, allocations: 3.183 MB / 1.33 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007498/1.405, allocations: 159.4 kB / 1.33 GB, free: 10.25 MB / 1.045 GB Notification: Performance of SimCode: time 7.52e-07/1.405, allocations: 0 / 1.33 GB, free: 10.25 MB / 1.045 GB Notification: Performance of Templates: time 1.005/2.41, allocations: 464.7 MB / 1.784 GB, free: 239.2 MB / 1.248 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 -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