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.0104/0.0104, allocations: 105.8 kB / 15.74 MB, free: 5.578 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.002358/0.002358, allocations: 188.5 kB / 16.67 MB, free: 5.52 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9655, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04253/1.008, allocations: 32.6 MB / 1.12 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02215/1.03, allocations: 10.26 MB / 1.13 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005776/1.036, allocations: 149.3 kB / 1.13 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01402/1.05, allocations: 3.722 MB / 1.134 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008718/1.059, allocations: 1.954 MB / 1.135 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007546/1.067, allocations: 2.125 MB / 1.138 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01319/1.08, allocations: 7.351 MB / 1.145 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/1.094, allocations: 9.413 MB / 1.154 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007809/1.102, allocations: 3.22 MB / 1.157 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009994/1.112, allocations: 3.492 MB / 1.16 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002657/1.114, allocations: 0.6465 MB / 1.161 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006888/1.121, allocations: 1.767 MB / 1.163 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007914/1.129, allocations: 2.549 MB / 1.165 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01107/1.14, allocations: 2.897 MB / 1.168 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0194/1.16, allocations: 10.11 MB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.16, allocations: 1.156 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/1.16, allocations: 0 / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003397/1.16, allocations: 0 / 1.178 GB, free: 14.68 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.01787/1.178, allocations: 5.008 MB / 1.183 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/1.178, allocations: 10.38 kB / 1.183 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007901/1.186, allocations: 0.944 MB / 1.184 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00773/1.194, allocations: 3.048 MB / 1.187 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/1.194, allocations: 349.7 kB / 1.187 GB, free: 8.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002131/1.196, allocations: 464.2 kB / 1.188 GB, free: 7.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.213, allocations: 7.667 MB / 1.195 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/1.214, allocations: 23.78 kB / 1.195 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006888/1.214, allocations: 200 kB / 1.195 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/1.215, allocations: 316.9 kB / 1.196 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/1.226, allocations: 5.706 MB / 1.201 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04127/1.268, allocations: 34.83 MB / 1.235 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004195/1.272, allocations: 2.146 MB / 1.237 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/1.275, allocations: 1.272 MB / 1.239 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/1.275, allocations: 13.31 kB / 1.239 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/1.275, allocations: 47.86 kB / 1.239 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 5.249e-06/1.275, allocations: 4 kB / 1.239 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.0181/1.293, allocations: 7.092 MB / 1.246 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/1.293, allocations: 64.72 kB / 1.246 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.296, allocations: 1.488 MB / 1.247 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/1.296, allocations: 45.7 kB / 1.247 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.297, allocations: 2 MB / 1.249 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/1.298, allocations: 493 kB / 1.25 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006077/1.299, allocations: 347.1 kB / 1.25 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.299, allocations: 309.1 kB / 1.25 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/1.3, allocations: 0.9135 MB / 1.251 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/1.302, allocations: 1.597 MB / 1.253 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/1.305, allocations: 2.729 MB / 1.255 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/1.305, allocations: 8 kB / 1.255 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00595/1.311, allocations: 3.531 MB / 1.259 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/1.311, allocations: 19.98 kB / 1.259 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/1.311, allocations: 20 kB / 1.259 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/1.314, allocations: 0.9037 MB / 1.26 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.315, allocations: 343.4 kB / 1.26 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/1.338, allocations: 23.1 MB / 1.283 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/1.34, allocations: 99.95 kB / 1.283 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/1.34, allocations: 88.05 kB / 1.283 GB, free: 15.98 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.003361/1.344, allocations: 1.607 MB / 1.284 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006521/1.344, allocations: 213.4 kB / 1.284 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/1.351, allocations: 2.986 MB / 1.287 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.351, allocations: 19.98 kB / 1.287 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-05/1.351, allocations: 11.94 kB / 1.287 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.351, allocations: 3.984 kB / 1.287 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/1.366, allocations: 7.348 MB / 1.295 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.366, allocations: 4 kB / 1.295 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/1.367, allocations: 176.3 kB / 1.295 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/1.369, allocations: 0.8218 MB / 1.296 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/1.369, allocations: 28 kB / 1.296 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/1.389, allocations: 21.95 MB / 1.317 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.389, allocations: 4 kB / 1.317 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/1.395, allocations: 3.021 MB / 1.32 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.396, allocations: 458.5 kB / 1.32 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007149/1.397, allocations: 35.92 kB / 1.32 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.399, allocations: 67.92 kB / 1.321 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/1.399, allocations: 128.7 kB / 1.321 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/1.399, allocations: 36 kB / 1.321 GB, free: 6.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001673/1.401, allocations: 0.9834 MB / 1.322 GB, free: 5.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.401, allocations: 0 / 1.322 GB, free: 5.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003678/1.404, allocations: 0.7891 MB / 1.322 GB, free: 5.141 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.0002941/1.405, allocations: 131.1 kB / 1.323 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005905/1.411, allocations: 4.046 MB / 1.326 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.411, allocations: 1 kB / 1.326 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/1.414, allocations: 2.736 MB / 1.329 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.418, allocations: 0.7376 MB / 1.33 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.434, allocations: 7.099 MB / 1.337 GB, free: 6.008 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00463/1.439, allocations: 3.113 MB / 1.34 GB, free: 2.863 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001533/1.44, allocations: 454 kB / 1.34 GB, free: 2.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/1.441, allocations: 115.4 kB / 1.34 GB, free: 2.305 MB / 1.076 GB Notification: Performance of SimCode: time 1.293e-06/1.441, allocations: 0 / 1.34 GB, free: 2.305 MB / 1.076 GB Notification: Performance of Templates: time 0.06652/1.507, allocations: 36.24 MB / 1.376 GB, free: 14.47 MB / 1.123 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/jenkins/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