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.001623/0.001624, allocations: 108.9 kB / 16.42 MB, free: 6.449 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.001911/0.001911, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.481/1.481, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.504/2.504, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 72.25 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9659/0.9675, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03823/1.006, allocations: 30.77 MB / 1.197 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02479/1.031, allocations: 13.59 MB / 1.211 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004433/1.035, allocations: 143.2 kB / 1.211 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009863/1.045, allocations: 3.207 MB / 1.214 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009676/1.055, allocations: 2.76 MB / 1.217 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/1.061, allocations: 2.007 MB / 1.219 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01197/1.073, allocations: 7.64 MB / 1.226 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/1.087, allocations: 8.233 MB / 1.234 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007472/1.095, allocations: 3.463 MB / 1.237 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00659/1.102, allocations: 3.387 MB / 1.241 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002332/1.104, allocations: 0.5977 MB / 1.241 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/1.109, allocations: 1.494 MB / 1.243 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004304/1.113, allocations: 2.366 MB / 1.245 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006871/1.12, allocations: 2.875 MB / 1.248 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/1.134, allocations: 9.465 MB / 1.257 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.134, allocations: 0 / 1.257 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/1.134, allocations: 0 / 1.257 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003572/1.135, allocations: 0 / 1.257 GB, free: 7.512 MB / 0.9825 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.01548/1.15, allocations: 5.144 MB / 1.262 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.15, allocations: 16.81 kB / 1.262 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00704/1.157, allocations: 1.002 MB / 1.263 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008944/1.166, allocations: 3.064 MB / 1.266 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/1.167, allocations: 316.8 kB / 1.266 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/1.169, allocations: 424 kB / 1.267 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/1.189, allocations: 6.795 MB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/1.19, allocations: 19.78 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/1.192, allocations: 184 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001253/1.193, allocations: 368 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/1.206, allocations: 5.118 MB / 1.279 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/1.25, allocations: 30.51 MB / 1.309 GB, free: 15.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.253, allocations: 1.395 MB / 1.31 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/1.255, allocations: 1.341 MB / 1.312 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/1.255, allocations: 13.31 kB / 1.312 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/1.255, allocations: 55.81 kB / 1.312 GB, free: 12.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 4.939e-06/1.255, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=199): time 0.09219/1.347, allocations: 23.09 MB / 1.334 GB, free: 5.309 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.347, allocations: 69.41 kB / 1.334 GB, free: 5.227 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00342/1.351, allocations: 2.062 MB / 1.336 GB, free: 3.148 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/1.351, allocations: 65.7 kB / 1.336 GB, free: 3.078 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/1.353, allocations: 2.01 MB / 1.338 GB, free: 1.043 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007434/1.354, allocations: 0.6777 MB / 1.339 GB, free: 364 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008614/1.354, allocations: 408.2 kB / 1.339 GB, free: 15.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.355, allocations: 309.1 kB / 1.34 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/1.357, allocations: 1.426 MB / 1.341 GB, free: 14.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/1.359, allocations: 2.013 MB / 1.343 GB, free: 11.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004813/1.364, allocations: 3.692 MB / 1.347 GB, free: 8.027 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/1.364, allocations: 8 kB / 1.347 GB, free: 8.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01115/1.375, allocations: 5.661 MB / 1.352 GB, free: 2.289 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.375, allocations: 12 kB / 1.352 GB, free: 2.277 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/1.375, allocations: 16 kB / 1.352 GB, free: 2.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006737/1.382, allocations: 2.079 MB / 1.354 GB, free: 128 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.384, allocations: 387.4 kB / 1.355 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.041/1.425, allocations: 38.42 MB / 1.392 GB, free: 6.785 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/1.428, allocations: 123.9 kB / 1.392 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004611/1.428, allocations: 95.98 kB / 1.392 GB, free: 6.57 MB / 1.123 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.003222/1.432, allocations: 1.508 MB / 1.394 GB, free: 5.051 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006683/1.432, allocations: 280.7 kB / 1.394 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.443, allocations: 5.212 MB / 1.399 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.443, allocations: 15.89 kB / 1.399 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.443, allocations: 0 / 1.399 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.444, allocations: 0.6343 MB / 1.4 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005565/1.445, allocations: 39.88 kB / 1.4 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.447, allocations: 95.88 kB / 1.4 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004646/1.447, allocations: 217.6 kB / 1.4 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01226/1.459, allocations: 5.446 MB / 1.405 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006926/1.466, allocations: 5.039 MB / 1.41 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002109/1.468, allocations: 1.558 MB / 1.412 GB, free: 2.336 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003074/1.471, allocations: 1.378 MB / 1.413 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of Backend: time 3.91e-07/1.471, allocations: 3.938 kB / 1.413 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.484, allocations: 5.682 MB / 1.419 GB, free: 11.02 MB / 1.154 GB Notification: Performance of SimCode: time 0.01614/1.5, allocations: 9.075 MB / 1.428 GB, free: 1.965 MB / 1.154 GB Notification: Performance of Templates: time 0.1021/1.603, allocations: 62.89 MB / 1.489 GB, free: 3.809 MB / 1.217 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