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.008075/0.008075, 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.00195/0.00195, 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.32 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.6/2.6, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03383/0.291, allocations: 30.77 MB / 1.196 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.3122, allocations: 13.6 MB / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.3156, allocations: 143.2 kB / 1.21 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008197/0.3239, allocations: 3.196 MB / 1.213 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.3312, allocations: 2.766 MB / 1.215 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005011/0.3363, allocations: 2.014 MB / 1.217 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009073/0.3453, allocations: 7.641 MB / 1.225 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/0.3562, allocations: 8.229 MB / 1.233 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.3617, allocations: 3.474 MB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/0.3667, allocations: 3.379 MB / 1.24 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.3682, allocations: 0.5938 MB / 1.24 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.372, allocations: 1.49 MB / 1.242 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0031/0.3751, allocations: 2.366 MB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005028/0.3801, allocations: 2.894 MB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.559/0.9391, allocations: 9.469 MB / 1.256 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.9392, allocations: 0 / 1.256 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9392, allocations: 1 kB / 1.256 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002561/0.9395, allocations: 0 / 1.256 GB, free: 29.84 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.01255/0.952, allocations: 5.277 MB / 1.261 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9521, allocations: 10.28 kB / 1.261 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.9532, allocations: 0.6115 MB / 1.262 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.9594, allocations: 1.019 MB / 1.263 GB, free: 27.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007598/0.967, allocations: 3.1 MB / 1.266 GB, free: 26.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.9674, allocations: 318.8 kB / 1.266 GB, free: 26.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.969, allocations: 417.6 kB / 1.267 GB, free: 26.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.9832, allocations: 6.792 MB / 1.273 GB, free: 25.78 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/0.9834, allocations: 21.52 kB / 1.273 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005477/0.984, allocations: 189.1 kB / 1.273 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009294/0.9849, allocations: 372.4 kB / 1.274 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009628/0.9945, allocations: 5.117 MB / 1.279 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/1.023, allocations: 30.56 MB / 1.309 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/1.025, allocations: 1.386 MB / 1.31 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.027, allocations: 1.331 MB / 1.311 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/1.027, allocations: 18.44 kB / 1.311 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.027, allocations: 54.91 kB / 1.311 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 3.236e-06/1.027, allocations: 0 / 1.311 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.08879/1.116, allocations: 23.15 MB / 1.334 GB, free: 10.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/1.116, allocations: 71.5 kB / 1.334 GB, free: 10.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/1.118, allocations: 2.066 MB / 1.336 GB, free: 9.012 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/1.119, allocations: 65.45 kB / 1.336 GB, free: 8.953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/1.12, allocations: 2.06 MB / 1.338 GB, free: 7.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007028/1.121, allocations: 0.7112 MB / 1.339 GB, free: 6.527 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007324/1.121, allocations: 412.4 kB / 1.339 GB, free: 6.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/1.121, allocations: 308.2 kB / 1.339 GB, free: 5.996 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/1.123, allocations: 1.428 MB / 1.341 GB, free: 5.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/1.126, allocations: 2.017 MB / 1.343 GB, free: 3.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004391/1.13, allocations: 3.696 MB / 1.346 GB, free: 1.359 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.13, allocations: 11.09 kB / 1.346 GB, free: 1.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01073/1.141, allocations: 5.667 MB / 1.352 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.141, allocations: 13.19 kB / 1.352 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.141, allocations: 16.72 kB / 1.352 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006626/1.148, allocations: 2.087 MB / 1.354 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.149, allocations: 371 kB / 1.354 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03803/1.187, allocations: 38.46 MB / 1.392 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/1.19, allocations: 131.9 kB / 1.392 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/1.19, allocations: 88 kB / 1.392 GB, free: 4.688 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.002615/1.193, allocations: 1.501 MB / 1.394 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/1.193, allocations: 294.2 kB / 1.394 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.203, allocations: 5.219 MB / 1.399 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.204, allocations: 23.94 kB / 1.399 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/1.204, allocations: 16 kB / 1.399 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.204, allocations: 7.969 kB / 1.399 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/1.221, allocations: 9.682 MB / 1.408 GB, free: 3.898 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.221, allocations: 12.03 kB / 1.408 GB, free: 3.887 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/1.222, allocations: 218.8 kB / 1.409 GB, free: 3.688 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005872/1.228, allocations: 1.839 MB / 1.41 GB, free: 1.805 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.228, allocations: 44 kB / 1.411 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03563/1.263, allocations: 37.47 MB / 1.447 GB, free: 9.953 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/1.263, allocations: 11.56 kB / 1.447 GB, free: 9.945 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009295/1.273, allocations: 4.924 MB / 1.452 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/1.274, allocations: 0.6237 MB / 1.453 GB, free: 4.289 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/1.275, allocations: 47.94 kB / 1.453 GB, free: 4.242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.277, allocations: 131.8 kB / 1.453 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/1.277, allocations: 184.6 kB / 1.453 GB, free: 3.938 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.277, allocations: 56 kB / 1.453 GB, free: 3.883 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002009/1.279, allocations: 1.378 MB / 1.454 GB, free: 2.496 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.279, allocations: 4 kB / 1.454 GB, free: 2.492 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003604/1.283, allocations: 1.051 MB / 1.455 GB, free: 1.441 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.009451/1.292, allocations: 5.542 MB / 1.461 GB, free: 11.82 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.303, allocations: 6.31 MB / 1.467 GB, free: 5.395 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.303, allocations: 0.875 kB / 1.467 GB, free: 5.395 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007161/1.31, allocations: 4.408 MB / 1.471 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/1.315, allocations: 0.9922 MB / 1.472 GB, free: 15.86 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05269/1.368, allocations: 30.8 MB / 1.502 GB, free: 356 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003606/1.371, allocations: 3.125 MB / 1.505 GB, free: 13.19 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001966/1.373, allocations: 0.5199 MB / 1.506 GB, free: 12.67 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.375, allocations: 1.675 MB / 1.507 GB, free: 10.99 MB / 1.186 GB Notification: Performance of SimCode: time 8.31e-07/1.375, allocations: 0 / 1.507 GB, free: 10.99 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/1.587, allocations: 88.11 MB / 1.593 GB, free: 4.207 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.29, allocations: 14.91 kB / 1.594 GB, free: 4.195 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