Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.004844/0.004844, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00116/0.00116, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.547/2.547, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2602, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03644/0.2967, allocations: 35.12 MB / 1.2 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.3132, allocations: 9.948 MB / 1.21 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.316, allocations: 151.2 kB / 1.21 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009263/0.3253, allocations: 3.811 MB / 1.214 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.3309, allocations: 2.138 MB / 1.216 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004767/0.3357, allocations: 1.972 MB / 1.218 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009373/0.3451, allocations: 7.986 MB / 1.226 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.3559, allocations: 9.534 MB / 1.235 GB, free: 372 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.3608, allocations: 3.42 MB / 1.239 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00524/0.3661, allocations: 3.738 MB / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.3675, allocations: 0.6758 MB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.3711, allocations: 1.447 MB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.374, allocations: 2.62 MB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004746/0.3787, allocations: 3.104 MB / 1.25 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.563/0.9417, allocations: 10.41 MB / 1.26 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9418, allocations: 0.6875 kB / 1.26 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9418, allocations: 0 / 1.26 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003894/0.9422, allocations: 0.7188 kB / 1.26 GB, free: 28.11 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0242/0.9664, allocations: 5.536 MB / 1.265 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.9665, allocations: 10.34 kB / 1.265 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003023/0.9695, allocations: 0.697 MB / 1.266 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006322/0.9758, allocations: 0.9891 MB / 1.267 GB, free: 25.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008625/0.9845, allocations: 3.197 MB / 1.27 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004774/0.985, allocations: 355.8 kB / 1.271 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/0.9877, allocations: 468.9 kB / 1.271 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.007, allocations: 7.906 MB / 1.279 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/1.007, allocations: 17.48 kB / 1.279 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006823/1.008, allocations: 209.5 kB / 1.279 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005121/1.008, allocations: 374.2 kB / 1.279 GB, free: 23.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/1.02, allocations: 5.932 MB / 1.285 GB, free: 23.78 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04149/1.062, allocations: 36.01 MB / 1.32 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.065, allocations: 2.13 MB / 1.322 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/1.067, allocations: 1.484 MB / 1.324 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.766e-05/1.067, allocations: 17.34 kB / 1.324 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.067, allocations: 55.12 kB / 1.324 GB, free: 9.637 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 3.858e-06/1.067, allocations: 4 kB / 1.324 GB, free: 9.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.014/1.081, allocations: 7.592 MB / 1.331 GB, free: 5.285 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.081, allocations: 75.83 kB / 1.331 GB, free: 5.215 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/1.084, allocations: 1.864 MB / 1.333 GB, free: 4.191 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.084, allocations: 52.39 kB / 1.333 GB, free: 4.141 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.085, allocations: 2.187 MB / 1.335 GB, free: 2.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/1.086, allocations: 0.588 MB / 1.336 GB, free: 1.719 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/1.086, allocations: 401.1 kB / 1.336 GB, free: 1.492 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/1.087, allocations: 305.1 kB / 1.337 GB, free: 1.191 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/1.088, allocations: 1.06 MB / 1.338 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.09, allocations: 1.767 MB / 1.339 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/1.093, allocations: 3.051 MB / 1.342 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.093, allocations: 7.875 kB / 1.342 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006057/1.099, allocations: 3.931 MB / 1.346 GB, free: 11.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.1, allocations: 18.91 kB / 1.346 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/1.1, allocations: 25.67 kB / 1.346 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/1.102, allocations: 0.9311 MB / 1.347 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.103, allocations: 425.7 kB / 1.348 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/1.122, allocations: 22.78 MB / 1.37 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/1.125, allocations: 122.2 kB / 1.37 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/1.125, allocations: 90.75 kB / 1.37 GB, free: 5.594 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.002996/1.128, allocations: 1.655 MB / 1.372 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.128, allocations: 266.8 kB / 1.372 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/1.133, allocations: 3.261 MB / 1.375 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.133, allocations: 15.72 kB / 1.375 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.133, allocations: 14.36 kB / 1.375 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/1.133, allocations: 7.969 kB / 1.375 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.145, allocations: 7.557 MB / 1.382 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.145, allocations: 3.969 kB / 1.382 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/1.146, allocations: 216.5 kB / 1.383 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.149, allocations: 0.8947 MB / 1.384 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.149, allocations: 32 kB / 1.384 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/1.168, allocations: 22.75 MB / 1.406 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.168, allocations: 4.188 kB / 1.406 GB, free: 5.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/1.173, allocations: 3.387 MB / 1.409 GB, free: 1.562 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.175, allocations: 0.5422 MB / 1.41 GB, free: 1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/1.175, allocations: 39.98 kB / 1.41 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.177, allocations: 95.83 kB / 1.41 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/1.177, allocations: 138.6 kB / 1.41 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.177, allocations: 52 kB / 1.41 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001622/1.179, allocations: 1.217 MB / 1.411 GB, free: 15.46 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.4e-07/1.179, allocations: 0 / 1.411 GB, free: 15.46 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003123/1.182, allocations: 0.9102 MB / 1.412 GB, free: 14.55 MB / 1.092 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005327/1.187, allocations: 3.997 MB / 1.416 GB, free: 10.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006373/1.194, allocations: 4.441 MB / 1.42 GB, free: 6.012 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.194, allocations: 0 / 1.42 GB, free: 6.012 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.198, allocations: 3.011 MB / 1.423 GB, free: 2.883 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/1.202, allocations: 0.8171 MB / 1.424 GB, free: 2.086 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/1.245, allocations: 25.19 MB / 1.449 GB, free: 8.031 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.248, allocations: 3.206 MB / 1.452 GB, free: 4.797 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001703/1.25, allocations: 0.5293 MB / 1.452 GB, free: 4.262 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.252, allocations: 1.651 MB / 1.454 GB, free: 2.609 MB / 1.123 GB Notification: Performance of SimCode: time 7.51e-07/1.252, allocations: 0 / 1.454 GB, free: 2.609 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.377, allocations: 70.26 MB / 1.522 GB, free: 13.44 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.22, allocations: 7.938 kB / 1.522 GB, free: 13.43 MB / 1.201 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches