Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 73.62 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2442, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03648/0.2807, allocations: 33.33 MB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02125/0.302, allocations: 14.82 MB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.3044, allocations: 155.2 kB / 1.111 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008234/0.3127, allocations: 3.659 MB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.3191, allocations: 2.875 MB / 1.118 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.324, allocations: 2.332 MB / 1.12 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009675/0.3337, allocations: 8.813 MB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.3456, allocations: 9.64 MB / 1.138 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.351, allocations: 3.942 MB / 1.142 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.3566, allocations: 4.038 MB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.3583, allocations: 0.7148 MB / 1.146 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.362, allocations: 1.716 MB / 1.148 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.3651, allocations: 2.826 MB / 1.151 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003562/0.3687, allocations: 3.388 MB / 1.154 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009658/0.3783, allocations: 11.11 MB / 1.165 GB, free: 6.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3783, allocations: 8 kB / 1.165 GB, free: 6.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3783, allocations: 0 / 1.165 GB, free: 6.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001387/0.3785, allocations: 0 / 1.165 GB, free: 6.426 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.009723/0.3882, allocations: 5.968 MB / 1.171 GB, free: 388 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3883, allocations: 12.03 kB / 1.171 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008901/0.3892, allocations: 0.7349 MB / 1.172 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005669/0.3948, allocations: 1.149 MB / 1.173 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/0.4, allocations: 3.321 MB / 1.176 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.4003, allocations: 374.4 kB / 1.176 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006938/0.401, allocations: 499.8 kB / 1.177 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.4121, allocations: 8.005 MB / 1.185 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.4122, allocations: 19.84 kB / 1.185 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.4127, allocations: 219.9 kB / 1.185 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/0.4137, allocations: 437.5 kB / 1.185 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008916/0.4226, allocations: 6.081 MB / 1.191 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03333/0.456, allocations: 35.16 MB / 1.226 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.4586, allocations: 2.022 MB / 1.228 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.4609, allocations: 1.869 MB / 1.229 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.103e-05/0.461, allocations: 21.98 kB / 1.229 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.4611, allocations: 60.5 kB / 1.229 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.146e-06/0.4611, allocations: 0 / 1.229 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.5311/0.9922, allocations: 38.87 MB / 1.267 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.9922, allocations: 80.23 kB / 1.267 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.9947, allocations: 2.276 MB / 1.27 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.9949, allocations: 77.81 kB / 1.27 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008799/0.9958, allocations: 2.278 MB / 1.272 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/0.9963, allocations: 0.9328 MB / 1.273 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008077/0.9971, allocations: 0.5084 MB / 1.273 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.9971, allocations: 305.1 kB / 1.274 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.9994, allocations: 1.976 MB / 1.276 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/1.002, allocations: 2.593 MB / 1.278 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/1.007, allocations: 4.941 MB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.007, allocations: 5.5 kB / 1.283 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01103/1.018, allocations: 7.753 MB / 1.291 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.018, allocations: 11.81 kB / 1.291 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.018, allocations: 21.91 kB / 1.291 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00708/1.025, allocations: 3.243 MB / 1.294 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.026, allocations: 399.3 kB / 1.294 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02998/1.056, allocations: 33.9 MB / 1.327 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/1.058, allocations: 164.8 kB / 1.327 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/1.059, allocations: 113 kB / 1.327 GB, free: 122.2 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.001991/1.061, allocations: 1.791 MB / 1.329 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/1.061, allocations: 332.1 kB / 1.33 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009897/1.071, allocations: 7.36 MB / 1.337 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.071, allocations: 31.66 kB / 1.337 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.071, allocations: 28 kB / 1.337 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.071, allocations: 11.95 kB / 1.337 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.086, allocations: 12.93 MB / 1.349 GB, free: 99.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.086, allocations: 8.812 kB / 1.349 GB, free: 99.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/1.087, allocations: 227.6 kB / 1.35 GB, free: 99.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/1.093, allocations: 2.881 MB / 1.352 GB, free: 96.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.093, allocations: 52 kB / 1.353 GB, free: 96.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02866/1.121, allocations: 32.7 MB / 1.384 GB, free: 62.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.121, allocations: 8 kB / 1.384 GB, free: 62.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008811/1.13, allocations: 6.894 MB / 1.391 GB, free: 55.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/1.131, allocations: 0.7744 MB / 1.392 GB, free: 54.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/1.132, allocations: 52 kB / 1.392 GB, free: 54.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.133, allocations: 175.8 kB / 1.392 GB, free: 54.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/1.134, allocations: 253.5 kB / 1.392 GB, free: 54.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.134, allocations: 76 kB / 1.392 GB, free: 54.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00139/1.135, allocations: 1.525 MB / 1.394 GB, free: 52.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.135, allocations: 0 / 1.394 GB, free: 52.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002715/1.138, allocations: 1.371 MB / 1.395 GB, free: 51.45 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.008818/1.147, allocations: 7.517 MB / 1.403 GB, free: 43.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.157, allocations: 8.373 MB / 1.411 GB, free: 35.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.157, allocations: 0 / 1.411 GB, free: 35.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/1.162, allocations: 4.415 MB / 1.415 GB, free: 30.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.165, allocations: 1.112 MB / 1.416 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04897/1.214, allocations: 43.84 MB / 1.459 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/1.218, allocations: 3.646 MB / 1.463 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001712/1.22, allocations: 0.5608 MB / 1.463 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.222, allocations: 1.968 MB / 1.465 GB, free: 9.012 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/1.222, allocations: 0 / 1.465 GB, free: 9.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.21/12.43, allocations: 112.7 MB / 1.575 GB, free: 9.617 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/24.65, allocations: 13.8 kB / 1.575 GB, free: 9.609 MB / 1.139 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches