Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003031/0.003031, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.625/2.625, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7668, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0387/0.8056, allocations: 33.04 MB / 1.049 GB, free: 1.633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0245/0.8301, allocations: 14.79 MB / 1.063 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.834, allocations: 143.2 kB / 1.063 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009451/0.8436, allocations: 3.388 MB / 1.067 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009215/0.8528, allocations: 2.686 MB / 1.069 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006832/0.8597, allocations: 2.13 MB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.8749, allocations: 12.2 MB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/0.892, allocations: 10.36 MB / 1.093 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006352/0.8984, allocations: 3.441 MB / 1.097 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007206/0.9056, allocations: 4.088 MB / 1.101 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.9077, allocations: 492 kB / 1.101 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.9127, allocations: 1.747 MB / 1.103 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004415/0.9171, allocations: 2.588 MB / 1.106 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007158/0.9243, allocations: 3.115 MB / 1.109 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.9389, allocations: 10.99 MB / 1.119 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.939, allocations: 0 / 1.119 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.939, allocations: 0 / 1.119 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003641/0.9393, allocations: 0 / 1.119 GB, free: 9.211 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01786/0.9572, allocations: 5.981 MB / 1.125 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.9573, allocations: 11.98 kB / 1.125 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00862/0.9659, allocations: 1.142 MB / 1.126 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008453/0.9744, allocations: 3.321 MB / 1.13 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/0.9749, allocations: 374.4 kB / 1.13 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/0.9769, allocations: 500 kB / 1.13 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.9978, allocations: 8.005 MB / 1.138 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003983/0.9982, allocations: 23.83 kB / 1.138 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/1, allocations: 216 kB / 1.138 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/1.001, allocations: 437.6 kB / 1.139 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/1.016, allocations: 6.092 MB / 1.145 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04982/1.066, allocations: 35.16 MB / 1.179 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/1.07, allocations: 2.022 MB / 1.181 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/1.073, allocations: 1.861 MB / 1.183 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.073, allocations: 21.94 kB / 1.183 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/1.073, allocations: 64.48 kB / 1.183 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 4.478e-06/1.073, allocations: 0 / 1.183 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1528/1.226, allocations: 38.87 MB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/1.226, allocations: 81.58 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/1.231, allocations: 2.282 MB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005293/1.231, allocations: 73.7 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002119/1.233, allocations: 2.272 MB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.235, allocations: 0.9395 MB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/1.236, allocations: 0.5061 MB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.237, allocations: 305.1 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/1.24, allocations: 1.973 MB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/1.244, allocations: 2.602 MB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00749/1.251, allocations: 4.929 MB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/1.252, allocations: 4 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01557/1.267, allocations: 7.757 MB / 1.244 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/1.267, allocations: 14.56 kB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/1.267, allocations: 16 kB / 1.244 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009722/1.277, allocations: 3.216 MB / 1.247 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/1.279, allocations: 399.3 kB / 1.248 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7068/1.986, allocations: 31.08 MB / 1.278 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/1.989, allocations: 164.1 kB / 1.278 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/1.989, allocations: 111 kB / 1.278 GB, free: 194.8 MB / 0.9981 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003224/1.992, allocations: 1.79 MB / 1.28 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/1.993, allocations: 337.3 kB / 1.28 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/2.006, allocations: 7.355 MB / 1.288 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/2.006, allocations: 27.75 kB / 1.288 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-05/2.006, allocations: 31.09 kB / 1.288 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/2.006, allocations: 14.95 kB / 1.288 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/2.028, allocations: 12.92 MB / 1.3 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/2.028, allocations: 4.406 kB / 1.3 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/2.029, allocations: 235.6 kB / 1.3 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007535/2.036, allocations: 2.851 MB / 1.303 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/2.037, allocations: 46.59 kB / 1.303 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03123/2.068, allocations: 29.91 MB / 1.332 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/2.068, allocations: 11.94 kB / 1.333 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/2.079, allocations: 6.886 MB / 1.339 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/2.08, allocations: 0.7781 MB / 1.34 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000562/2.081, allocations: 59.36 kB / 1.34 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/2.083, allocations: 163.8 kB / 1.34 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009112/2.084, allocations: 253.5 kB / 1.34 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/2.084, allocations: 72 kB / 1.341 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001934/2.086, allocations: 1.533 MB / 1.342 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/2.086, allocations: 0 / 1.342 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004557/2.09, allocations: 1.375 MB / 1.343 GB, free: 142.2 MB / 0.9981 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004222/2.091, allocations: 174.9 kB / 1.344 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009818/2.101, allocations: 6.88 MB / 1.35 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/2.101, allocations: 4.875 kB / 1.35 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006503/2.107, allocations: 4.41 MB / 1.355 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/2.112, allocations: 1.037 MB / 1.356 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/2.128, allocations: 12.48 MB / 1.368 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/2.131, allocations: 3.646 MB / 1.371 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002206/2.134, allocations: 0.5595 MB / 1.372 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/2.134, allocations: 159.4 kB / 1.372 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/2.134, allocations: 0 / 1.372 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.1055/2.24, allocations: 75.2 MB / 1.445 GB, free: 38.45 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches