Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_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.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001537/0.001537, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.462/2.462, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.519, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03084/0.5499, allocations: 30.52 MB / 1.047 GB, free: 4.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.5687, allocations: 13.55 MB / 1.06 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.5712, allocations: 131.2 kB / 1.06 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00693/0.5782, allocations: 2.962 MB / 1.063 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.5838, allocations: 2.473 MB / 1.065 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.5878, allocations: 1.837 MB / 1.067 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009689/0.5975, allocations: 10.42 MB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.61, allocations: 9.065 MB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.615, allocations: 2.97 MB / 1.089 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/0.6197, allocations: 3.434 MB / 1.092 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.6209, allocations: 400 kB / 1.093 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.6242, allocations: 1.529 MB / 1.094 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.6267, allocations: 2.171 MB / 1.096 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003846/0.6305, allocations: 2.64 MB / 1.099 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007716/0.6382, allocations: 9.301 MB / 1.108 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6383, allocations: 0 / 1.108 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6383, allocations: 0 / 1.108 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001054/0.6384, allocations: 0 / 1.108 GB, free: 4.977 MB / 0.8575 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.007891/0.6463, allocations: 5.136 MB / 1.113 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6463, allocations: 12.03 kB / 1.113 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000726/0.6471, allocations: 0.6164 MB / 1.114 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/0.6523, allocations: 1.002 MB / 1.115 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.6569, allocations: 2.88 MB / 1.117 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.6571, allocations: 324.8 kB / 1.118 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005704/0.6577, allocations: 423.8 kB / 1.118 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009599/0.6673, allocations: 6.784 MB / 1.125 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.6674, allocations: 15.84 kB / 1.125 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004008/0.6678, allocations: 184 kB / 1.125 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008219/0.6686, allocations: 376 kB / 1.125 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007828/0.6765, allocations: 5.114 MB / 1.13 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.708, allocations: 30.74 MB / 1.16 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.71, allocations: 1.398 MB / 1.162 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.7117, allocations: 1.324 MB / 1.163 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.7118, allocations: 13.31 kB / 1.163 GB, free: 9.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.7119, allocations: 59.86 kB / 1.163 GB, free: 9.332 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 3.427e-06/0.7119, allocations: 0 / 1.163 GB, free: 9.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.08535/0.7972, allocations: 23.07 MB / 1.186 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.7973, allocations: 69.41 kB / 1.186 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.8003, allocations: 2.059 MB / 1.188 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.8004, allocations: 61.7 kB / 1.188 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.8017, allocations: 2.014 MB / 1.19 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005814/0.8023, allocations: 0.6815 MB / 1.19 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007457/0.8031, allocations: 408.2 kB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.8032, allocations: 309.1 kB / 1.191 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.8053, allocations: 1.43 MB / 1.192 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.8077, allocations: 2.006 MB / 1.194 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.8123, allocations: 3.704 MB / 1.198 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.8124, allocations: 4 kB / 1.198 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01077/0.8231, allocations: 5.653 MB / 1.203 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.8232, allocations: 16.97 kB / 1.203 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.8232, allocations: 16 kB / 1.204 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006773/0.83, allocations: 2.087 MB / 1.206 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.8314, allocations: 379.3 kB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03587/0.8673, allocations: 35.5 MB / 1.241 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.8694, allocations: 131.8 kB / 1.241 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002883/0.8698, allocations: 92.09 kB / 1.241 GB, free: 6.441 MB / 0.9981 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.002512/0.8723, allocations: 1.511 MB / 1.242 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/0.873, allocations: 288.6 kB / 1.243 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4616/1.335, allocations: 5.213 MB / 1.248 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.335, allocations: 22.25 kB / 1.248 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-05/1.335, allocations: 18.06 kB / 1.248 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.718e-05/1.335, allocations: 9.984 kB / 1.248 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.353, allocations: 9.671 MB / 1.257 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.353, allocations: 6.219 kB / 1.257 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/1.354, allocations: 213.6 kB / 1.257 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006276/1.361, allocations: 1.839 MB / 1.259 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/1.361, allocations: 39.56 kB / 1.259 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02683/1.388, allocations: 34.51 MB / 1.293 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.388, allocations: 7.938 kB / 1.293 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007814/1.395, allocations: 4.913 MB / 1.298 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.397, allocations: 0.6126 MB / 1.298 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004889/1.397, allocations: 44.28 kB / 1.298 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.399, allocations: 126.8 kB / 1.298 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/1.399, allocations: 202.5 kB / 1.299 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.399, allocations: 58.59 kB / 1.299 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001608/1.401, allocations: 1.377 MB / 1.3 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.71e-07/1.401, allocations: 0 / 1.3 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002909/1.404, allocations: 1.05 MB / 1.301 GB, free: 174.3 MB / 0.9981 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.007302/1.411, allocations: 5.531 MB / 1.306 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007566/1.419, allocations: 6.264 MB / 1.313 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.419, allocations: 3.594 kB / 1.313 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0051/1.424, allocations: 4.399 MB / 1.317 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.427, allocations: 0.9099 MB / 1.318 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/1.472, allocations: 35.96 MB / 1.353 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/1.474, allocations: 3.123 MB / 1.356 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001701/1.476, allocations: 0.5159 MB / 1.356 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.477, allocations: 1.675 MB / 1.358 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.103e-06/1.477, allocations: 0 / 1.358 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09728/1.575, allocations: 87.21 MB / 1.443 GB, free: 34.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/1.575, allocations: 240.7 kB / 1.443 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/5.025, allocations: 0 / 1.443 GB, free: 34.34 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches