Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.004881/0.004881, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001157/0.001156, allocations: 195 kB / 16.67 MB, free: 6.379 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.14 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2695, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03379/0.3034, allocations: 30.77 MB / 1.196 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.3242, allocations: 13.59 MB / 1.209 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.3279, allocations: 143.2 kB / 1.21 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008845/0.3368, allocations: 3.204 MB / 1.213 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.3448, allocations: 2.661 MB / 1.215 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.3511, allocations: 2.015 MB / 1.217 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009161/0.3603, allocations: 7.625 MB / 1.225 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.3709, allocations: 8.233 MB / 1.233 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.3763, allocations: 3.404 MB / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005728/0.3821, allocations: 3.391 MB / 1.239 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.384, allocations: 0.5938 MB / 1.24 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.388, allocations: 1.498 MB / 1.241 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003595/0.3916, allocations: 2.354 MB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005317/0.3969, allocations: 2.886 MB / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5502/0.9471, allocations: 9.456 MB / 1.256 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.9472, allocations: 0.7812 kB / 1.256 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9472, allocations: 1.125 kB / 1.256 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003811/0.9476, allocations: 0 / 1.256 GB, free: 29.91 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01793/0.9655, allocations: 5.135 MB / 1.261 GB, free: 28.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.9656, allocations: 10.77 kB / 1.261 GB, free: 28.06 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002582/0.9681, allocations: 0.6162 MB / 1.261 GB, free: 28 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008133/0.9763, allocations: 0.9965 MB / 1.262 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009414/0.9857, allocations: 3.073 MB / 1.265 GB, free: 27.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004546/0.9862, allocations: 320.4 kB / 1.266 GB, free: 27.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.9886, allocations: 418.3 kB / 1.266 GB, free: 27.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/1.006, allocations: 6.792 MB / 1.273 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/1.006, allocations: 21.66 kB / 1.273 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/1.008, allocations: 187 kB / 1.273 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/1.009, allocations: 371 kB / 1.273 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/1.021, allocations: 5.116 MB / 1.278 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/1.056, allocations: 30.52 MB / 1.308 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/1.058, allocations: 1.387 MB / 1.309 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/1.059, allocations: 1.328 MB / 1.311 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/1.059, allocations: 17.66 kB / 1.311 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.059, allocations: 58.67 kB / 1.311 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 2.906e-06/1.059, allocations: 0 / 1.311 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.09057/1.15, allocations: 23.08 MB / 1.333 GB, free: 10.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.15, allocations: 71.56 kB / 1.333 GB, free: 10.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/1.154, allocations: 2.055 MB / 1.335 GB, free: 9.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004336/1.154, allocations: 62.86 kB / 1.336 GB, free: 9.512 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.156, allocations: 2.016 MB / 1.338 GB, free: 7.742 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007989/1.156, allocations: 0.6721 MB / 1.338 GB, free: 7.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009201/1.157, allocations: 412.7 kB / 1.339 GB, free: 6.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/1.157, allocations: 305.1 kB / 1.339 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/1.159, allocations: 1.429 MB / 1.34 GB, free: 5.863 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/1.162, allocations: 2.017 MB / 1.342 GB, free: 4.363 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.166, allocations: 3.693 MB / 1.346 GB, free: 1.996 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.166, allocations: 7.938 kB / 1.346 GB, free: 1.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01058/1.177, allocations: 5.658 MB / 1.351 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.177, allocations: 14.94 kB / 1.351 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.177, allocations: 15.09 kB / 1.351 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006679/1.184, allocations: 2.092 MB / 1.353 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.185, allocations: 375.3 kB / 1.354 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03951/1.225, allocations: 38.42 MB / 1.391 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.228, allocations: 131.9 kB / 1.391 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004139/1.228, allocations: 91.98 kB / 1.392 GB, free: 5.352 MB / 1.061 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002766/1.231, allocations: 1.507 MB / 1.393 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/1.232, allocations: 284.7 kB / 1.393 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.243, allocations: 5.218 MB / 1.398 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.243, allocations: 23.94 kB / 1.398 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-05/1.243, allocations: 16 kB / 1.398 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-05/1.243, allocations: 7.969 kB / 1.398 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.264, allocations: 9.673 MB / 1.408 GB, free: 4.574 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.264, allocations: 4 kB / 1.408 GB, free: 4.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/1.265, allocations: 225.3 kB / 1.408 GB, free: 4.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00602/1.271, allocations: 1.835 MB / 1.41 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/1.271, allocations: 44 kB / 1.41 GB, free: 2.445 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03766/1.309, allocations: 37.44 MB / 1.446 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.309, allocations: 11.47 kB / 1.446 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009981/1.319, allocations: 4.911 MB / 1.451 GB, free: 5.652 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.321, allocations: 0.6109 MB / 1.452 GB, free: 5.02 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000845/1.322, allocations: 43.98 kB / 1.452 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.324, allocations: 127.8 kB / 1.452 GB, free: 4.852 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/1.325, allocations: 194.8 kB / 1.452 GB, free: 4.672 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.325, allocations: 60 kB / 1.452 GB, free: 4.613 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002214/1.327, allocations: 1.378 MB / 1.454 GB, free: 3.227 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.327, allocations: 2.297 kB / 1.454 GB, free: 3.227 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004041/1.331, allocations: 1.051 MB / 1.455 GB, free: 2.176 MB / 1.123 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009391/1.341, allocations: 5.529 MB / 1.46 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.351, allocations: 6.295 MB / 1.466 GB, free: 6.121 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.351, allocations: 4.875 kB / 1.466 GB, free: 6.117 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007732/1.359, allocations: 4.393 MB / 1.47 GB, free: 1.535 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007294/1.366, allocations: 0.9936 MB / 1.471 GB, free: 0.582 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05508/1.421, allocations: 30.65 MB / 1.501 GB, free: 1.172 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/1.425, allocations: 3.125 MB / 1.504 GB, free: 14.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001791/1.427, allocations: 0.5159 MB / 1.505 GB, free: 13.49 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/1.428, allocations: 1.675 MB / 1.507 GB, free: 11.82 MB / 1.186 GB Notification: Performance of SimCode: time 9.82e-07/1.428, allocations: 0 / 1.507 GB, free: 11.82 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/1.586, allocations: 88.11 MB / 1.593 GB, free: 5.047 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/16.48, allocations: 15.06 kB / 1.593 GB, free: 5.035 MB / 1.264 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches