Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001662/0.001662, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002082/0.002082, allocations: 196 kB / 16.14 MB, free: 6.645 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.888/2.888, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.45 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3309, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03565/0.3666, allocations: 33.04 MB / 1.084 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02467/0.3913, allocations: 14.78 MB / 1.099 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/0.3955, allocations: 139.2 kB / 1.099 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009517/0.4051, allocations: 3.404 MB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008618/0.4137, allocations: 2.681 MB / 1.105 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006516/0.4203, allocations: 2.125 MB / 1.107 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01561/0.4359, allocations: 12.2 MB / 1.119 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01993/0.4559, allocations: 10.36 MB / 1.129 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008158/0.4641, allocations: 3.441 MB / 1.132 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007857/0.472, allocations: 4.092 MB / 1.136 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.4746, allocations: 488 kB / 1.137 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005588/0.4802, allocations: 1.743 MB / 1.139 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004742/0.485, allocations: 2.584 MB / 1.141 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007929/0.4929, allocations: 3.119 MB / 1.144 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.507, allocations: 10.99 MB / 1.155 GB, free: 15.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.507, allocations: 0 / 1.155 GB, free: 15.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.507, allocations: 4 kB / 1.155 GB, free: 15.35 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003476/0.5074, allocations: 0 / 1.155 GB, free: 15.35 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01701/0.5244, allocations: 5.975 MB / 1.161 GB, free: 9.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5244, allocations: 8.031 kB / 1.161 GB, free: 9.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007884/0.5323, allocations: 1.141 MB / 1.162 GB, free: 8.141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008753/0.5411, allocations: 3.328 MB / 1.165 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/0.5416, allocations: 370.4 kB / 1.165 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.5437, allocations: 0.4922 MB / 1.166 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.5639, allocations: 8.001 MB / 1.174 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/0.5642, allocations: 27.77 kB / 1.174 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/0.5659, allocations: 216 kB / 1.174 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/0.5672, allocations: 437.6 kB / 1.174 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.582, allocations: 6.085 MB / 1.18 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0452/0.6273, allocations: 35.16 MB / 1.215 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.63, allocations: 2.018 MB / 1.217 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.6326, allocations: 1.865 MB / 1.218 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.6327, allocations: 22 kB / 1.218 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.6328, allocations: 64.45 kB / 1.218 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.097e-06/0.6328, allocations: 4 kB / 1.218 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.8276/1.46, allocations: 38.86 MB / 1.256 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/1.46, allocations: 79.45 kB / 1.257 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/1.465, allocations: 2.281 MB / 1.259 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007277/1.466, allocations: 73.83 kB / 1.259 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001815/1.468, allocations: 2.272 MB / 1.261 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.469, allocations: 0.9373 MB / 1.262 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.47, allocations: 0.5067 MB / 1.262 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/1.47, allocations: 310.5 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/1.474, allocations: 1.976 MB / 1.265 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/1.478, allocations: 2.595 MB / 1.267 GB, free: 172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007174/1.486, allocations: 4.938 MB / 1.272 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/1.486, allocations: 5.312 kB / 1.272 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02373/1.509, allocations: 7.759 MB / 1.28 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/1.51, allocations: 12.38 kB / 1.28 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/1.51, allocations: 16.5 kB / 1.28 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/1.524, allocations: 3.215 MB / 1.283 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/1.527, allocations: 413.3 kB / 1.283 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04084/1.568, allocations: 31.08 MB / 1.314 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.571, allocations: 159.8 kB / 1.314 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/1.572, allocations: 108 kB / 1.314 GB, free: 143.4 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.003398/1.575, allocations: 1.799 MB / 1.316 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007704/1.576, allocations: 336.1 kB / 1.316 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.588, allocations: 7.36 MB / 1.323 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/1.588, allocations: 28 kB / 1.323 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.273e-05/1.588, allocations: 32.48 kB / 1.323 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/1.588, allocations: 11.95 kB / 1.323 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/1.611, allocations: 12.92 MB / 1.336 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/1.611, allocations: 9.438 kB / 1.336 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/1.612, allocations: 236.5 kB / 1.336 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007752/1.619, allocations: 2.853 MB / 1.339 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004142/1.62, allocations: 48 kB / 1.339 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03231/1.652, allocations: 29.9 MB / 1.368 GB, free: 86.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.652, allocations: 11.94 kB / 1.368 GB, free: 86.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.664, allocations: 6.888 MB / 1.375 GB, free: 79.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/1.666, allocations: 0.7743 MB / 1.375 GB, free: 78.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007497/1.666, allocations: 55.98 kB / 1.376 GB, free: 78.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.668, allocations: 167.8 kB / 1.376 GB, free: 78.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000844/1.669, allocations: 257.2 kB / 1.376 GB, free: 78.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.669, allocations: 72.55 kB / 1.376 GB, free: 78.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001845/1.671, allocations: 1.529 MB / 1.377 GB, free: 76.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.671, allocations: 0 / 1.377 GB, free: 76.92 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004476/1.676, allocations: 1.371 MB / 1.379 GB, free: 75.55 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.0003689/1.676, allocations: 179 kB / 1.379 GB, free: 75.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.686, allocations: 6.899 MB / 1.386 GB, free: 68.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.686, allocations: 0.875 kB / 1.386 GB, free: 68.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00656/1.693, allocations: 4.42 MB / 1.39 GB, free: 63.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.697, allocations: 1.029 MB / 1.391 GB, free: 62.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.714, allocations: 12.49 MB / 1.403 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/1.718, allocations: 3.644 MB / 1.407 GB, free: 46.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002128/1.72, allocations: 0.5517 MB / 1.407 GB, free: 46.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.72, allocations: 155.4 kB / 1.408 GB, free: 45.99 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.72, allocations: 0 / 1.408 GB, free: 45.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.1083/1.828, allocations: 75.22 MB / 1.481 GB, free: 3.738 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches