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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.007304/0.007304, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001648/0.001648, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7403, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03742/0.7778, allocations: 32.61 MB / 1.119 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.7971, allocations: 10.26 MB / 1.129 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.8007, allocations: 149.9 kB / 1.129 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009628/0.8103, allocations: 3.731 MB / 1.133 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.8167, allocations: 1.949 MB / 1.135 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006713/0.8235, allocations: 2.126 MB / 1.137 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.8345, allocations: 7.347 MB / 1.144 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.8477, allocations: 9.413 MB / 1.153 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.8546, allocations: 3.223 MB / 1.157 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007602/0.8622, allocations: 3.485 MB / 1.16 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.864, allocations: 0.646 MB / 1.161 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005234/0.8693, allocations: 1.771 MB / 1.162 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004025/0.8733, allocations: 2.539 MB / 1.165 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006543/0.8799, allocations: 2.904 MB / 1.168 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.8943, allocations: 10.13 MB / 1.178 GB, free: 14.49 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8944, allocations: 1.094 kB / 1.178 GB, free: 14.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8944, allocations: 0 / 1.178 GB, free: 14.49 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000288/0.8947, allocations: 0 / 1.178 GB, free: 14.49 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.0126/0.9073, allocations: 5.129 MB / 1.183 GB, free: 10.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9073, allocations: 13.56 kB / 1.183 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001201/0.9086, allocations: 0.6779 MB / 1.183 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.9142, allocations: 0.9793 MB / 1.184 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007177/0.9214, allocations: 3.055 MB / 1.187 GB, free: 7.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.9216, allocations: 345.7 kB / 1.188 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009158/0.9226, allocations: 476.2 kB / 1.188 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.9386, allocations: 7.663 MB / 1.195 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.9387, allocations: 23.83 kB / 1.196 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005164/0.9393, allocations: 196 kB / 1.196 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003289/0.9396, allocations: 324.9 kB / 1.196 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009263/0.9489, allocations: 5.71 MB / 1.202 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03411/0.983, allocations: 34.89 MB / 1.236 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.9858, allocations: 2.15 MB / 1.238 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.9875, allocations: 1.264 MB / 1.239 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.9876, allocations: 21.23 kB / 1.239 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.9877, allocations: 51.88 kB / 1.239 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 4.188e-06/0.9877, allocations: 0 / 1.239 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.0143/1.002, allocations: 7.138 MB / 1.246 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.002, allocations: 64.72 kB / 1.246 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/1.004, allocations: 1.48 MB / 1.248 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/1.004, allocations: 49.7 kB / 1.248 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.006, allocations: 2.065 MB / 1.25 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/1.006, allocations: 0.5035 MB / 1.25 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005338/1.007, allocations: 359.3 kB / 1.25 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.007, allocations: 305.1 kB / 1.251 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.008, allocations: 0.9096 MB / 1.252 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.01, allocations: 1.601 MB / 1.253 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/1.013, allocations: 2.733 MB / 1.256 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.013, allocations: 4 kB / 1.256 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00595/1.019, allocations: 3.547 MB / 1.259 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/1.019, allocations: 12 kB / 1.259 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.019, allocations: 27.94 kB / 1.259 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/1.022, allocations: 0.9001 MB / 1.26 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.023, allocations: 351.4 kB / 1.261 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/1.044, allocations: 23.11 MB / 1.283 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.046, allocations: 104 kB / 1.283 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/1.046, allocations: 91.94 kB / 1.283 GB, free: 14.89 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.002711/1.049, allocations: 1.611 MB / 1.285 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/1.049, allocations: 214.6 kB / 1.285 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/1.055, allocations: 2.99 MB / 1.288 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.055, allocations: 12 kB / 1.288 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/1.055, allocations: 12 kB / 1.288 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.055, allocations: 7.984 kB / 1.288 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.068, allocations: 7.341 MB / 1.295 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.068, allocations: 4 kB / 1.295 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/1.069, allocations: 175.7 kB / 1.295 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/1.071, allocations: 0.8257 MB / 1.296 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.072, allocations: 24 kB / 1.296 GB, free: 1.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.092, allocations: 21.96 MB / 1.318 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/1.092, allocations: 8.062 kB / 1.318 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/1.098, allocations: 3.034 MB / 1.321 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.099, allocations: 471.6 kB / 1.321 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005606/1.1, allocations: 31.98 kB / 1.321 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.101, allocations: 71.92 kB / 1.321 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/1.101, allocations: 124.7 kB / 1.321 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/1.102, allocations: 43.98 kB / 1.321 GB, free: 5.809 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001501/1.103, allocations: 0.9717 MB / 1.322 GB, free: 4.812 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 0 / 1.322 GB, free: 4.812 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003473/1.107, allocations: 0.7852 MB / 1.323 GB, free: 4.027 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.005682/1.112, allocations: 3.628 MB / 1.327 GB, free: 280 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00601/1.118, allocations: 4.046 MB / 1.331 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.118, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003757/1.122, allocations: 2.745 MB / 1.333 GB, free: 9.176 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1.126, allocations: 0.733 MB / 1.334 GB, free: 8.469 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/1.163, allocations: 22.46 MB / 1.356 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004608/1.168, allocations: 3.109 MB / 1.359 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001454/1.169, allocations: 454 kB / 1.359 GB, free: 13.39 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/1.171, allocations: 1.542 MB / 1.361 GB, free: 11.85 MB / 1.107 GB Notification: Performance of SimCode: time 1.453e-06/1.171, allocations: 0 / 1.361 GB, free: 11.85 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.292, allocations: 61.42 MB / 1.421 GB, free: 15.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.62, allocations: 18 kB / 1.421 GB, free: 15.09 MB / 1.17 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > 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.csv","/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