Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.001669/0.001669, allocations: 185 kB / 17.34 MB, free: 5.629 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.18 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.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8281, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04001/0.8681, allocations: 32.6 MB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.8881, allocations: 10.26 MB / 1.13 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004823/0.893, allocations: 149.6 kB / 1.131 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.9038, allocations: 3.728 MB / 1.134 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.9114, allocations: 1.951 MB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007374/0.9188, allocations: 2.134 MB / 1.138 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01447/0.9333, allocations: 7.344 MB / 1.145 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01922/0.9526, allocations: 9.413 MB / 1.155 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00808/0.9607, allocations: 3.224 MB / 1.158 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008352/0.9691, allocations: 3.484 MB / 1.161 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002983/0.9722, allocations: 0.6462 MB / 1.162 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.9787, allocations: 1.767 MB / 1.164 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006306/0.985, allocations: 2.554 MB / 1.166 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008891/0.994, allocations: 2.893 MB / 1.169 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0178/1.012, allocations: 10.11 MB / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.012, allocations: 0 / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/1.012, allocations: 0 / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003861/1.012, allocations: 0 / 1.179 GB, free: 14.64 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01932/1.032, allocations: 5 MB / 1.184 GB, free: 11.28 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.032, allocations: 13.16 kB / 1.184 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/1.039, allocations: 0.9527 MB / 1.185 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007776/1.047, allocations: 3.041 MB / 1.188 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/1.047, allocations: 349.7 kB / 1.188 GB, free: 8.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/1.05, allocations: 464.2 kB / 1.188 GB, free: 7.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/1.069, allocations: 7.663 MB / 1.196 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/1.069, allocations: 27.77 kB / 1.196 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/1.071, allocations: 200 kB / 1.196 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/1.072, allocations: 312.9 kB / 1.196 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/1.084, allocations: 5.714 MB / 1.202 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04533/1.13, allocations: 34.82 MB / 1.236 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/1.133, allocations: 2.158 MB / 1.238 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/1.134, allocations: 1.264 MB / 1.239 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/1.135, allocations: 17.31 kB / 1.239 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.135, allocations: 43.88 kB / 1.239 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.457e-06/1.135, allocations: 0 / 1.239 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01803/1.153, allocations: 7.084 MB / 1.246 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/1.153, allocations: 68.72 kB / 1.246 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/1.156, allocations: 1.492 MB / 1.248 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/1.156, allocations: 49.64 kB / 1.248 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.157, allocations: 2.004 MB / 1.25 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006105/1.158, allocations: 485 kB / 1.25 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/1.159, allocations: 351.2 kB / 1.251 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.159, allocations: 301.1 kB / 1.251 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.16, allocations: 0.9135 MB / 1.252 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/1.162, allocations: 1.593 MB / 1.253 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/1.166, allocations: 2.741 MB / 1.256 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/1.166, allocations: 8 kB / 1.256 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006576/1.172, allocations: 3.527 MB / 1.259 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/1.172, allocations: 14.34 kB / 1.259 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/1.172, allocations: 24 kB / 1.259 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/1.175, allocations: 0.9116 MB / 1.26 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.176, allocations: 347.4 kB / 1.261 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/1.199, allocations: 23.1 MB / 1.283 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.201, allocations: 104 kB / 1.283 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003962/1.201, allocations: 80.08 kB / 1.283 GB, free: 15.95 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003168/1.205, allocations: 1.613 MB / 1.285 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006113/1.205, allocations: 205.5 kB / 1.285 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006024/1.211, allocations: 2.994 MB / 1.288 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/1.211, allocations: 19.94 kB / 1.288 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-05/1.211, allocations: 8.281 kB / 1.288 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.211, allocations: 7.969 kB / 1.288 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.227, allocations: 7.336 MB / 1.295 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.227, allocations: 4 kB / 1.295 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/1.227, allocations: 179.7 kB / 1.295 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002552/1.23, allocations: 0.8262 MB / 1.296 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.23, allocations: 24 kB / 1.296 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/1.251, allocations: 21.94 MB / 1.318 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.252, allocations: 11.92 kB / 1.318 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/1.257, allocations: 3.025 MB / 1.321 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.259, allocations: 454.5 kB / 1.321 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/1.259, allocations: 35.94 kB / 1.321 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.26, allocations: 71.91 kB / 1.321 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/1.261, allocations: 124.7 kB / 1.321 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.261, allocations: 36 kB / 1.321 GB, free: 6.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001701/1.263, allocations: 0.9756 MB / 1.322 GB, free: 5.914 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.41e-07/1.263, allocations: 0 / 1.322 GB, free: 5.914 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00361/1.266, allocations: 0.7891 MB / 1.323 GB, free: 5.125 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003426/1.267, allocations: 143 kB / 1.323 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006561/1.273, allocations: 4.039 MB / 1.327 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.273, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.278, allocations: 2.737 MB / 1.33 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.282, allocations: 0.7312 MB / 1.331 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.299, allocations: 7.744 MB / 1.338 GB, free: 5.344 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005623/1.305, allocations: 3.179 MB / 1.341 GB, free: 2.133 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/1.305, allocations: 131.4 kB / 1.341 GB, free: 2.004 MB / 1.076 GB Notification: Performance of SimCode: time 9.71e-07/1.305, allocations: 0 / 1.341 GB, free: 2.004 MB / 1.076 GB Notification: Performance of Templates: time 0.8854/2.191, allocations: 321.7 MB / 1.656 GB, free: 405.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches