Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_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.001661/0.001661, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001819/0.001819, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5454, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02887/0.5743, allocations: 30.49 MB / 0.979 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.5949, allocations: 13.46 MB / 0.9922 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.5981, allocations: 135.2 kB / 0.9923 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007845/0.606, allocations: 2.967 MB / 0.9952 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.6136, allocations: 2.454 MB / 0.9976 GB, free: 452 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.6185, allocations: 1.863 MB / 0.9994 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008335/0.6269, allocations: 7.639 MB / 1.007 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.6402, allocations: 9.935 MB / 1.017 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006028/0.6463, allocations: 3.462 MB / 1.02 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005311/0.6517, allocations: 3.532 MB / 1.023 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.6534, allocations: 0.5977 MB / 1.024 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.6569, allocations: 1.494 MB / 1.025 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.6597, allocations: 2.366 MB / 1.028 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004519/0.6643, allocations: 2.882 MB / 1.031 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008801/0.6731, allocations: 9.476 MB / 1.04 GB, free: 4.996 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6731, allocations: 4 kB / 1.04 GB, free: 4.992 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6731, allocations: 3.938 kB / 1.04 GB, free: 4.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001559/0.6733, allocations: 0 / 1.04 GB, free: 4.988 MB / 0.795 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.008901/0.6822, allocations: 5.132 MB / 1.045 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6823, allocations: 12.03 kB / 1.045 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007895/0.683, allocations: 0.6164 MB / 1.045 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.6886, allocations: 1.002 MB / 1.046 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/0.6934, allocations: 2.896 MB / 1.049 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.6937, allocations: 312.8 kB / 1.05 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006033/0.6943, allocations: 423.8 kB / 1.05 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009488/0.7038, allocations: 6.799 MB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.673e-05/0.7039, allocations: 19.78 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.7043, allocations: 180 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007863/0.7051, allocations: 368 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007493/0.7126, allocations: 5.114 MB / 1.062 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.7431, allocations: 30.74 MB / 1.092 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.7451, allocations: 1.387 MB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.7467, allocations: 1.332 MB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.243e-05/0.7468, allocations: 13.31 kB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.7469, allocations: 55.86 kB / 1.095 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.066e-06/0.7469, allocations: 0 / 1.095 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08358/0.8305, allocations: 23.07 MB / 1.117 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.8306, allocations: 73.41 kB / 1.117 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.8339, allocations: 2.062 MB / 1.119 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/0.8343, allocations: 61.64 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.8357, allocations: 2.006 MB / 1.122 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/0.8364, allocations: 0.6816 MB / 1.122 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008478/0.8373, allocations: 416.1 kB / 1.123 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.8374, allocations: 305.1 kB / 1.123 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.8395, allocations: 1.426 MB / 1.124 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.842, allocations: 2.013 MB / 1.126 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/0.8466, allocations: 3.704 MB / 1.13 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.8467, allocations: 4 kB / 1.13 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01069/0.8573, allocations: 5.654 MB / 1.135 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.8574, allocations: 12 kB / 1.135 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.8574, allocations: 19.98 kB / 1.135 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006728/0.8641, allocations: 2.103 MB / 1.137 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.8655, allocations: 371.4 kB / 1.138 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03724/0.9028, allocations: 38.45 MB / 1.175 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.9051, allocations: 127.9 kB / 1.175 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.9054, allocations: 96 kB / 1.176 GB, free: 3.344 MB / 0.9356 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.002385/0.9078, allocations: 1.504 MB / 1.177 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/0.9084, allocations: 288.6 kB / 1.177 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.9186, allocations: 5.208 MB / 1.182 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.9187, allocations: 20 kB / 1.182 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-05/0.9188, allocations: 20 kB / 1.182 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/0.9188, allocations: 7.969 kB / 1.182 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.9362, allocations: 9.681 MB / 1.192 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.9363, allocations: 4 kB / 1.192 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.9371, allocations: 211.6 kB / 1.192 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005801/0.9429, allocations: 1.857 MB / 1.194 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.9431, allocations: 40 kB / 1.194 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/0.9781, allocations: 37.48 MB / 1.231 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.9781, allocations: 8 kB / 1.231 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008995/0.9871, allocations: 4.905 MB / 1.235 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.9884, allocations: 0.6147 MB / 1.236 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/0.989, allocations: 47.92 kB / 1.236 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.9906, allocations: 131.8 kB / 1.236 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/0.9913, allocations: 189.5 kB / 1.236 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.9914, allocations: 56 kB / 1.236 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002356/0.9938, allocations: 1.382 MB / 1.238 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9938, allocations: 0 / 1.238 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003508/0.9973, allocations: 1.043 MB / 1.239 GB, free: 15.59 MB / 1.014 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.009124/1.006, allocations: 5.537 MB / 1.244 GB, free: 9.883 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.018, allocations: 7.21 MB / 1.251 GB, free: 2.441 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.018, allocations: 4 kB / 1.251 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.3797/1.397, allocations: 4.394 MB / 1.255 GB, free: 274.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.401, allocations: 0.9873 MB / 1.256 GB, free: 274.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0523/1.454, allocations: 35.96 MB / 1.292 GB, free: 257 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.456, allocations: 3.129 MB / 1.295 GB, free: 255.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001777/1.458, allocations: 0.5163 MB / 1.295 GB, free: 255.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.46, allocations: 1.673 MB / 1.297 GB, free: 254.4 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.46, allocations: 3.938 kB / 1.297 GB, free: 254.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8841/2.344, allocations: 89.61 MB / 1.384 GB, free: 172.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/2.344, allocations: 242.6 kB / 1.384 GB, free: 172.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/6.081, allocations: 4 kB / 1.384 GB, free: 172.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches