Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_L,fileNamePrefix="Buildings_9_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_9_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.000832/0.0008319, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00541/0.00541, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.55, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0283/0.5783, allocations: 31.53 MB / 0.986 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.5931, allocations: 10.18 MB / 0.9959 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.5954, allocations: 123.3 kB / 0.996 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.5968, allocations: 0.6318 MB / 0.9967 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.6004, allocations: 1.731 MB / 0.9983 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.6041, allocations: 1.766 MB / 1 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009019/0.6131, allocations: 10.58 MB / 1.01 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0165/0.6296, allocations: 12.07 MB / 1.022 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.6334, allocations: 2.237 MB / 1.024 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.6376, allocations: 2.966 MB / 1.027 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007802/0.6384, allocations: 264 kB / 1.028 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.6417, allocations: 1.696 MB / 1.029 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.6438, allocations: 2.058 MB / 1.031 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.6461, allocations: 2.341 MB / 1.033 GB, free: 14.87 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007737/0.6538, allocations: 9.658 MB / 1.043 GB, free: 5.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6539, allocations: 0 / 1.043 GB, free: 5.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6539, allocations: 0 / 1.043 GB, free: 5.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001405/0.654, allocations: 0 / 1.043 GB, free: 5.184 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006396/0.6604, allocations: 4.019 MB / 1.047 GB, free: 1.094 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6605, allocations: 15.97 kB / 1.047 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007784/0.6612, allocations: 0.6859 MB / 1.048 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.6657, allocations: 0.9474 MB / 1.048 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.6695, allocations: 2.859 MB / 1.051 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.6697, allocations: 353.7 kB / 1.052 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006322/0.6704, allocations: 456.2 kB / 1.052 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.6805, allocations: 7.674 MB / 1.059 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.816e-05/0.6807, allocations: 27.69 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004121/0.6811, allocations: 200 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/0.6814, allocations: 313 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008002/0.6894, allocations: 5.71 MB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.7172, allocations: 35.15 MB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.7196, allocations: 2.158 MB / 1.102 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.7211, allocations: 1.264 MB / 1.103 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.7212, allocations: 13.31 kB / 1.103 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7212, allocations: 47.81 kB / 1.103 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 2.435e-06/0.7212, allocations: 0 / 1.103 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01196/0.7332, allocations: 7.12 MB / 1.11 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.7332, allocations: 64.72 kB / 1.11 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.735, allocations: 1.484 MB / 1.112 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.7351, allocations: 45.7 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.7362, allocations: 2.012 MB / 1.114 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.7365, allocations: 489 kB / 1.114 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.7367, allocations: 145.6 kB / 1.114 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.7368, allocations: 301.1 kB / 1.115 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.738, allocations: 0.9135 MB / 1.116 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.7396, allocations: 1.601 MB / 1.117 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.7426, allocations: 2.737 MB / 1.12 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.7426, allocations: 8 kB / 1.12 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005383/0.748, allocations: 3.526 MB / 1.123 GB, free: 14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.748, allocations: 21.34 kB / 1.123 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.748, allocations: 23.94 kB / 1.123 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.7504, allocations: 0.9045 MB / 1.124 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7514, allocations: 347.4 kB / 1.125 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.7686, allocations: 21.24 MB / 1.145 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.7698, allocations: 99.95 kB / 1.145 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.7699, allocations: 88 kB / 1.145 GB, free: 5.652 MB / 0.9044 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.002156/0.7721, allocations: 1.609 MB / 1.147 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.7724, allocations: 205.6 kB / 1.147 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.7772, allocations: 2.998 MB / 1.15 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.7772, allocations: 15.98 kB / 1.15 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.7773, allocations: 8 kB / 1.15 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7773, allocations: 7.984 kB / 1.15 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.7875, allocations: 7.329 MB / 1.157 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.7875, allocations: 7.984 kB / 1.157 GB, free: 9.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/0.7882, allocations: 175.7 kB / 1.157 GB, free: 9.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.7904, allocations: 0.8222 MB / 1.158 GB, free: 8.145 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.7905, allocations: 35.98 kB / 1.158 GB, free: 8.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/0.8066, allocations: 20.31 MB / 1.178 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8066, allocations: 8 kB / 1.178 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004412/0.811, allocations: 3.031 MB / 1.181 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006759/0.8117, allocations: 462.5 kB / 1.182 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.812, allocations: 28 kB / 1.182 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.8128, allocations: 71.91 kB / 1.182 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.813, allocations: 124.7 kB / 1.182 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.8131, allocations: 40 kB / 1.182 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001151/0.8142, allocations: 0.9756 MB / 1.183 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8142, allocations: 0 / 1.183 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002244/0.8165, allocations: 0.7852 MB / 1.184 GB, free: 12.52 MB / 0.9512 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.004732/0.8212, allocations: 3.623 MB / 1.187 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00512/0.8264, allocations: 4.027 MB / 1.191 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8264, allocations: 0 / 1.191 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/0.8296, allocations: 2.749 MB / 1.194 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.8333, allocations: 0.673 MB / 1.194 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03636/0.8697, allocations: 25.75 MB / 1.22 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004735/0.8745, allocations: 3.109 MB / 1.223 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001473/0.876, allocations: 450 kB / 1.223 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/0.878, allocations: 1.546 MB / 1.224 GB, free: 416 kB / 0.9825 GB Notification: Performance of SimCode: time 8.92e-07/0.878, allocations: 0 / 1.224 GB, free: 416 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.642/4.52, allocations: 58.19 MB / 1.281 GB, free: 269 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/4.52, allocations: 244.2 kB / 1.282 GB, free: 268.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/8.894, allocations: 0 / 1.282 GB, free: 268.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches