Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.007916/0.007922, allocations: 104.9 kB / 15.74 MB, free: 6.035 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.001905/0.001905, allocations: 193.4 kB / 16.67 MB, free: 5.953 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.408/2.408, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7575, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01689/0.7744, allocations: 14.8 MB / 1.181 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.7892, allocations: 10.34 MB / 1.191 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.7906, allocations: 59.62 kB / 1.191 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004564/0.7952, allocations: 1.687 MB / 1.192 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.8005, allocations: 1.812 MB / 1.194 GB, free: 6.992 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.8027, allocations: 0.7653 MB / 1.195 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003909/0.8066, allocations: 2.736 MB / 1.198 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.8086, allocations: 1.426 MB / 1.199 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.811, allocations: 1.5 MB / 1.2 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.8131, allocations: 1.16 MB / 1.202 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003993/0.8135, allocations: 160 kB / 1.202 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.8151, allocations: 0.7916 MB / 1.203 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006785/0.8158, allocations: 0.6115 MB / 1.203 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.817, allocations: 0.9444 MB / 1.204 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.82, allocations: 2.768 MB / 1.207 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.82, allocations: 0 / 1.207 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.82, allocations: 0 / 1.207 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.08e-05/0.8201, allocations: 0 / 1.207 GB, free: 10.06 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003924/0.824, allocations: 2.176 MB / 1.209 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8241, allocations: 12.92 kB / 1.209 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.8243, allocations: 194.4 kB / 1.209 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.8365, allocations: 2.108 MB / 1.211 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.8396, allocations: 1.307 MB / 1.212 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.8397, allocations: 82.69 kB / 1.212 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.84, allocations: 123.8 kB / 1.213 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005984/0.846, allocations: 2.67 MB / 1.215 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.846, allocations: 15.88 kB / 1.215 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.8462, allocations: 51.98 kB / 1.215 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007169/0.847, allocations: 190.1 kB / 1.215 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007953/0.8549, allocations: 2.787 MB / 1.218 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.8711, allocations: 10.47 MB / 1.228 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/0.8787, allocations: 2.34 MB / 1.231 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/0.8824, allocations: 1.276 MB / 1.232 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.257e-05/0.8825, allocations: 12.98 kB / 1.232 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.8825, allocations: 43.56 kB / 1.232 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=89): time 3.076e-06/0.8825, allocations: 0 / 1.232 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153): time 0.06389/0.9464, allocations: 16.48 MB / 1.248 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.9465, allocations: 72.72 kB / 1.248 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.9482, allocations: 1.176 MB / 1.249 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.9484, allocations: 49.7 kB / 1.249 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.949, allocations: 0.7514 MB / 1.25 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/0.9495, allocations: 0.5121 MB / 1.251 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006338/0.9501, allocations: 287.4 kB / 1.251 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.9502, allocations: 305.1 kB / 1.251 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/0.954, allocations: 1.51 MB / 1.253 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/0.958, allocations: 1.78 MB / 1.254 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/0.9659, allocations: 3.369 MB / 1.258 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.9659, allocations: 4 kB / 1.258 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01424/0.9801, allocations: 5.281 MB / 1.263 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.9802, allocations: 8 kB / 1.263 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.9802, allocations: 8 kB / 1.263 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006981/0.9872, allocations: 1.876 MB / 1.265 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.9892, allocations: 419.2 kB / 1.265 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/1.019, allocations: 24.13 MB / 1.289 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/1.022, allocations: 307.5 kB / 1.289 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/1.022, allocations: 75.78 kB / 1.289 GB, free: 3.363 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001048/1.024, allocations: 467.4 kB / 1.289 GB, free: 2.898 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/1.024, allocations: 174.1 kB / 1.29 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.039, allocations: 5.324 MB / 1.295 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/1.039, allocations: 19.98 kB / 1.295 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.562e-05/1.039, allocations: 16 kB / 1.295 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/1.039, allocations: 7.969 kB / 1.295 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/1.058, allocations: 7.427 MB / 1.302 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.058, allocations: 0 / 1.302 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.06, allocations: 355.7 kB / 1.302 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008429/1.068, allocations: 1.705 MB / 1.304 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000314/1.068, allocations: 51.83 kB / 1.304 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03123/1.1, allocations: 23.3 MB / 1.327 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.1, allocations: 0 / 1.327 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/1.113, allocations: 4.891 MB / 1.332 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.114, allocations: 498.6 kB / 1.332 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/1.114, allocations: 32 kB / 1.332 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.117, allocations: 319.5 kB / 1.332 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/1.117, allocations: 149 kB / 1.333 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.117, allocations: 55.97 kB / 1.333 GB, free: 5.176 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001164/1.119, allocations: 0.7899 MB / 1.333 GB, free: 4.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.51e-07/1.119, allocations: 0 / 1.333 GB, free: 4.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002161/1.121, allocations: 0.6562 MB / 1.334 GB, free: 3.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/1.134, allocations: 5.474 MB / 1.339 GB, free: 14.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.146, allocations: 5.147 MB / 1.344 GB, free: 8.914 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.146, allocations: 0 / 1.344 GB, free: 8.914 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007407/1.153, allocations: 3.359 MB / 1.348 GB, free: 5.453 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.157, allocations: 0.5508 MB / 1.348 GB, free: 4.918 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04992/1.206, allocations: 21.85 MB / 1.37 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/1.208, allocations: 1.568 MB / 1.371 GB, free: 12.96 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001462/1.21, allocations: 378.4 kB / 1.372 GB, free: 12.59 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009448/1.211, allocations: 0.6593 MB / 1.372 GB, free: 11.93 MB / 1.107 GB Notification: Performance of SimCode: time 5.61e-07/1.211, allocations: 4 kB / 1.372 GB, free: 11.93 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.316, allocations: 58.75 MB / 1.43 GB, free: 1.777 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.92/21.24, allocations: 10.5 kB / 1.43 GB, free: 1.773 MB / 1.154 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches