Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.004609/0.004609, allocations: 102 kB / 15.73 MB, free: 6.441 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.001322/0.001323, allocations: 194.7 kB / 16.67 MB, free: 6.352 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.581/0.8802, allocations: 32.59 MB / 1.273 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.8989, allocations: 10.27 MB / 1.283 GB, free: 7.773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.9018, allocations: 148.4 kB / 1.283 GB, free: 7.727 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009431/0.9113, allocations: 3.715 MB / 1.287 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.9168, allocations: 1.856 MB / 1.289 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.9227, allocations: 2.132 MB / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.933, allocations: 7.329 MB / 1.298 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01488/0.9479, allocations: 9.418 MB / 1.307 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.9542, allocations: 3.175 MB / 1.31 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007414/0.9616, allocations: 3.485 MB / 1.314 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002623/0.9643, allocations: 0.6458 MB / 1.314 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005562/0.9699, allocations: 1.771 MB / 1.316 GB, free: 8.594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005536/0.9754, allocations: 2.536 MB / 1.319 GB, free: 7.547 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007667/0.9831, allocations: 2.902 MB / 1.322 GB, free: 5.656 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01728/1, allocations: 10.12 MB / 1.331 GB, free: 1.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1, allocations: 0 / 1.331 GB, free: 1.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.797e-06/1, allocations: 3.938 kB / 1.331 GB, free: 1.348 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003489/1.001, allocations: 3.938 kB / 1.331 GB, free: 1.344 MB / 1.029 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.01788/1.019, allocations: 5.126 MB / 1.336 GB, free: 13.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.019, allocations: 9.781 kB / 1.336 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00257/1.021, allocations: 0.6826 MB / 1.337 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/1.028, allocations: 0.9818 MB / 1.338 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008871/1.037, allocations: 3.056 MB / 1.341 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004387/1.038, allocations: 352.5 kB / 1.341 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/1.04, allocations: 463.3 kB / 1.342 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/1.059, allocations: 7.667 MB / 1.349 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002453/1.059, allocations: 29.73 kB / 1.349 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/1.06, allocations: 199.8 kB / 1.35 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004511/1.061, allocations: 311.4 kB / 1.35 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/1.074, allocations: 5.713 MB / 1.355 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05766/1.131, allocations: 34.89 MB / 1.389 GB, free: 13.83 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005503/1.137, allocations: 2.158 MB / 1.392 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003141/1.14, allocations: 1.264 MB / 1.393 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/1.14, allocations: 13.31 kB / 1.393 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/1.14, allocations: 43.88 kB / 1.393 GB, free: 10.23 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 4.509e-06/1.14, allocations: 3.938 kB / 1.393 GB, free: 10.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=136): time 0.02584/1.166, allocations: 7.134 MB / 1.4 GB, free: 2.824 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/1.166, allocations: 68.72 kB / 1.4 GB, free: 2.746 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/1.169, allocations: 1.488 MB / 1.401 GB, free: 1.211 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.17, allocations: 53.7 kB / 1.401 GB, free: 1.152 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.172, allocations: 2.069 MB / 1.403 GB, free: 15.06 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007466/1.173, allocations: 0.5074 MB / 1.404 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000894/1.174, allocations: 347.4 kB / 1.404 GB, free: 14.2 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.174, allocations: 301.1 kB / 1.405 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/1.176, allocations: 0.9174 MB / 1.405 GB, free: 12.99 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/1.18, allocations: 1.593 MB / 1.407 GB, free: 11.08 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006191/1.186, allocations: 2.741 MB / 1.41 GB, free: 8.031 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.186, allocations: 8 kB / 1.41 GB, free: 8.023 MB / 1.107 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01064/1.197, allocations: 3.538 MB / 1.413 GB, free: 4.438 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/1.197, allocations: 16.94 kB / 1.413 GB, free: 4.422 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/1.197, allocations: 23.94 kB / 1.413 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/1.201, allocations: 0.896 MB / 1.414 GB, free: 3.465 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/1.203, allocations: 347.4 kB / 1.414 GB, free: 3.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/1.227, allocations: 23.12 MB / 1.437 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.229, allocations: 104 kB / 1.437 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.229, allocations: 88 kB / 1.437 GB, free: 10.14 MB / 1.139 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.002753/1.232, allocations: 1.606 MB / 1.439 GB, free: 8.523 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.232, allocations: 218.6 kB / 1.439 GB, free: 8.309 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/1.238, allocations: 2.99 MB / 1.442 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.238, allocations: 20 kB / 1.442 GB, free: 5.254 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.238, allocations: 8 kB / 1.442 GB, free: 5.246 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.238, allocations: 7.969 kB / 1.442 GB, free: 5.238 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.25, allocations: 7.34 MB / 1.449 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.25, allocations: 4 kB / 1.449 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/1.251, allocations: 175.7 kB / 1.449 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/1.254, allocations: 0.8225 MB / 1.45 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.911e-05/1.254, allocations: 32 kB / 1.45 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/1.275, allocations: 21.95 MB / 1.471 GB, free: 4.961 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.275, allocations: 11.92 kB / 1.471 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005333/1.281, allocations: 3.026 MB / 1.474 GB, free: 1.809 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/1.282, allocations: 479.5 kB / 1.475 GB, free: 1.32 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.282, allocations: 27.95 kB / 1.475 GB, free: 1.293 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/1.283, allocations: 79.91 kB / 1.475 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/1.283, allocations: 124.7 kB / 1.475 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/1.283, allocations: 36 kB / 1.475 GB, free: 1.059 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001377/1.284, allocations: 0.9756 MB / 1.476 GB, free: 60 kB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/1.284, allocations: 3.938 kB / 1.476 GB, free: 56 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.002792/1.287, allocations: 0.7852 MB / 1.477 GB, free: 15.27 MB / 1.186 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.005391/1.293, allocations: 3.632 MB / 1.48 GB, free: 11.52 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005964/1.299, allocations: 4.051 MB / 1.484 GB, free: 7.316 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.299, allocations: 4 kB / 1.484 GB, free: 7.312 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.302, allocations: 2.736 MB / 1.487 GB, free: 4.418 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/1.306, allocations: 0.7211 MB / 1.488 GB, free: 3.727 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/1.341, allocations: 22.46 MB / 1.51 GB, free: 12.24 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004175/1.345, allocations: 3.121 MB / 1.513 GB, free: 9.09 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001386/1.347, allocations: 450 kB / 1.513 GB, free: 8.648 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/1.349, allocations: 1.538 MB / 1.515 GB, free: 7.109 MB / 1.217 GB Notification: Performance of SimCode: time 7.01e-07/1.349, allocations: 0 / 1.515 GB, free: 7.109 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.488, allocations: 61.43 MB / 1.575 GB, free: 10.32 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/14.17, allocations: 1.875 kB / 1.575 GB, free: 10.32 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches