Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006961/0.006961, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00163/0.00163, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2611, allocations: 151.6 MB / 1.166 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.035/0.2961, allocations: 32.61 MB / 1.198 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3127, allocations: 10.27 MB / 1.208 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.3153, allocations: 147.2 kB / 1.208 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008921/0.3242, allocations: 3.732 MB / 1.212 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.3295, allocations: 1.944 MB / 1.214 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005631/0.3352, allocations: 2.14 MB / 1.216 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00828/0.3435, allocations: 7.333 MB / 1.223 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.3552, allocations: 9.424 MB / 1.232 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.3603, allocations: 3.221 MB / 1.235 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005341/0.3657, allocations: 3.493 MB / 1.239 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.3677, allocations: 0.6445 MB / 1.239 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.372, allocations: 1.763 MB / 1.241 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003507/0.3755, allocations: 2.55 MB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005001/0.3805, allocations: 2.898 MB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5733/0.9538, allocations: 10.13 MB / 1.256 GB, free: 31.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.9539, allocations: 2.719 kB / 1.256 GB, free: 31.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9539, allocations: 0.9375 kB / 1.256 GB, free: 31.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003856/0.9543, allocations: 0.875 kB / 1.256 GB, free: 31.97 MB / 0.9981 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.01576/0.97, allocations: 5.121 MB / 1.261 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.9701, allocations: 9.594 kB / 1.261 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001889/0.972, allocations: 0.6837 MB / 1.262 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006588/0.9786, allocations: 0.9779 MB / 1.263 GB, free: 29.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009584/0.9882, allocations: 3.057 MB / 1.266 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/0.9888, allocations: 347.4 kB / 1.266 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/0.9918, allocations: 463.5 kB / 1.267 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/1.012, allocations: 7.669 MB / 1.274 GB, free: 27.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/1.013, allocations: 28.02 kB / 1.274 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/1.014, allocations: 201.5 kB / 1.274 GB, free: 27.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000395/1.014, allocations: 311.6 kB / 1.275 GB, free: 27.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/1.026, allocations: 5.711 MB / 1.28 GB, free: 27.85 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03393/1.06, allocations: 34.89 MB / 1.314 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/1.064, allocations: 2.225 MB / 1.317 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/1.067, allocations: 1.266 MB / 1.318 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/1.067, allocations: 19.88 kB / 1.318 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.067, allocations: 45.66 kB / 1.318 GB, free: 14.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=133): time 7.494e-06/1.067, allocations: 0 / 1.318 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=136): time 0.01545/1.082, allocations: 7.145 MB / 1.325 GB, free: 10.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.082, allocations: 69.94 kB / 1.325 GB, free: 10.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.084, allocations: 1.491 MB / 1.326 GB, free: 10.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.085, allocations: 46.27 kB / 1.326 GB, free: 10.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.086, allocations: 2.069 MB / 1.328 GB, free: 8.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/1.086, allocations: 0.5001 MB / 1.329 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005402/1.087, allocations: 351.5 kB / 1.329 GB, free: 7.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/1.087, allocations: 301.1 kB / 1.33 GB, free: 7.656 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.088, allocations: 0.913 MB / 1.33 GB, free: 7.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/1.09, allocations: 1.595 MB / 1.332 GB, free: 6.105 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/1.093, allocations: 2.733 MB / 1.335 GB, free: 4.383 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.093, allocations: 10.19 kB / 1.335 GB, free: 4.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006077/1.099, allocations: 3.537 MB / 1.338 GB, free: 2.852 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.099, allocations: 18.39 kB / 1.338 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/1.099, allocations: 27.81 kB / 1.338 GB, free: 2.844 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/1.102, allocations: 0.8969 MB / 1.339 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.103, allocations: 348.8 kB / 1.339 GB, free: 2.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.123, allocations: 23.13 MB / 1.362 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.125, allocations: 101.4 kB / 1.362 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/1.125, allocations: 86.78 kB / 1.362 GB, free: 13.01 MB / 1.045 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.002735/1.128, allocations: 1.616 MB / 1.364 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005298/1.129, allocations: 218.7 kB / 1.364 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004959/1.134, allocations: 2.986 MB / 1.367 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/1.134, allocations: 18.11 kB / 1.367 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/1.134, allocations: 10.75 kB / 1.367 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.134, allocations: 7.828 kB / 1.367 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/1.147, allocations: 7.337 MB / 1.374 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.147, allocations: 3.75 kB / 1.374 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/1.148, allocations: 179.7 kB / 1.374 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.15, allocations: 0.8305 MB / 1.375 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.15, allocations: 23.91 kB / 1.375 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/1.169, allocations: 21.96 MB / 1.396 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.169, allocations: 7.156 kB / 1.396 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/1.174, allocations: 3.032 MB / 1.399 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.175, allocations: 471.6 kB / 1.4 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/1.176, allocations: 39.88 kB / 1.4 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/1.177, allocations: 67.92 kB / 1.4 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/1.177, allocations: 127.6 kB / 1.4 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/1.177, allocations: 36 kB / 1.4 GB, free: 12.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001337/1.178, allocations: 0.9795 MB / 1.401 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.6e-07/1.178, allocations: 0 / 1.401 GB, free: 11.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003448/1.182, allocations: 0.7891 MB / 1.402 GB, free: 11.18 MB / 1.076 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.0052/1.187, allocations: 3.621 MB / 1.405 GB, free: 7.484 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005758/1.193, allocations: 4.052 MB / 1.409 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.193, allocations: 0 / 1.409 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/1.196, allocations: 2.737 MB / 1.412 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.2, allocations: 0.7309 MB / 1.413 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/1.238, allocations: 22.46 MB / 1.435 GB, free: 8.566 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004858/1.243, allocations: 3.107 MB / 1.438 GB, free: 5.434 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001682/1.245, allocations: 454 kB / 1.438 GB, free: 4.988 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.247, allocations: 1.538 MB / 1.44 GB, free: 3.449 MB / 1.107 GB Notification: Performance of SimCode: time 8.12e-07/1.247, allocations: 0 / 1.44 GB, free: 3.449 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.366, allocations: 61.44 MB / 1.5 GB, free: 6.871 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.84, allocations: 8.438 kB / 1.5 GB, free: 6.863 MB / 1.17 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches