Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.001294/0.001294, 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.001199/0.001199, allocations: 195.6 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 68.25 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2366, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03797/0.2746, allocations: 40.81 MB / 1.092 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.2974, allocations: 15.05 MB / 1.107 GB, free: 232 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004959/0.3024, allocations: 167.1 kB / 1.107 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.3128, allocations: 4.15 MB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006753/0.3195, allocations: 2.636 MB / 1.114 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006741/0.3263, allocations: 2.894 MB / 1.116 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01519/0.3415, allocations: 16 MB / 1.132 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.3611, allocations: 13.65 MB / 1.145 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006227/0.3674, allocations: 4.11 MB / 1.149 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007486/0.3749, allocations: 5.479 MB / 1.155 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.3769, allocations: 0.6094 MB / 1.155 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/0.3818, allocations: 2.048 MB / 1.157 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004095/0.3859, allocations: 3.352 MB / 1.161 GB, free: 8.902 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005404/0.3913, allocations: 3.92 MB / 1.164 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4028, allocations: 14.03 MB / 1.178 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4029, allocations: 0 / 1.178 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4029, allocations: 0 / 1.178 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002888/0.4032, allocations: 4 kB / 1.178 GB, free: 6.887 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01579/0.419, allocations: 7.596 MB / 1.186 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.419, allocations: 11.97 kB / 1.186 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001224/0.4203, allocations: 0.8955 MB / 1.186 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008607/0.4289, allocations: 1.511 MB / 1.188 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006446/0.4353, allocations: 4.217 MB / 1.192 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.4356, allocations: 452.5 kB / 1.192 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009328/0.4366, allocations: 0.5939 MB / 1.193 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.4515, allocations: 10.68 MB / 1.203 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.4517, allocations: 35.62 kB / 1.203 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00062/0.4523, allocations: 267.9 kB / 1.204 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/0.4546, allocations: 0.7729 MB / 1.204 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.4683, allocations: 8.565 MB / 1.213 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5001/0.9684, allocations: 46.85 MB / 1.259 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/0.9732, allocations: 4.305 MB / 1.263 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005187/0.9784, allocations: 3.698 MB / 1.266 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.9787, allocations: 41.25 kB / 1.266 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.9787, allocations: 77.33 kB / 1.267 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 4.959e-06/0.9788, allocations: 0 / 1.267 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4373/1.416, allocations: 122.7 MB / 1.386 GB, free: 62.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/1.416, allocations: 111.9 kB / 1.387 GB, free: 62.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/1.42, allocations: 2.685 MB / 1.389 GB, free: 59.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000947/1.421, allocations: 125.7 kB / 1.389 GB, free: 59.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.422, allocations: 2.673 MB / 1.392 GB, free: 56.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.424, allocations: 1.961 MB / 1.394 GB, free: 54.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002788/1.427, allocations: 0.9209 MB / 1.395 GB, free: 54.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/1.427, allocations: 309.1 kB / 1.395 GB, free: 53.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005641/1.433, allocations: 4.071 MB / 1.399 GB, free: 49.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005768/1.438, allocations: 5.023 MB / 1.404 GB, free: 44.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.45, allocations: 9.844 MB / 1.413 GB, free: 34.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/1.45, allocations: 11.98 kB / 1.413 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03326/1.483, allocations: 17 MB / 1.43 GB, free: 16.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/1.483, allocations: 16 kB / 1.43 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.483, allocations: 24 kB / 1.43 GB, free: 16.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02866/1.512, allocations: 9.078 MB / 1.439 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.514, allocations: 0.5187 MB / 1.439 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09794/1.612, allocations: 70.51 MB / 1.508 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/1.617, allocations: 279.7 kB / 1.509 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009655/1.618, allocations: 188 kB / 1.509 GB, free: 14.81 MB / 1.076 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004706/1.623, allocations: 2.425 MB / 1.511 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.624, allocations: 478.4 kB / 1.512 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03757/1.662, allocations: 16.82 MB / 1.528 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/1.662, allocations: 52 kB / 1.528 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001765/1.662, allocations: 79.94 kB / 1.528 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-05/1.662, allocations: 27.89 kB / 1.528 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05326/1.715, allocations: 25.65 MB / 1.553 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/1.715, allocations: 8 kB / 1.553 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.717, allocations: 319.5 kB / 1.554 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02869/1.746, allocations: 8.281 MB / 1.562 GB, free: 8.262 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.747, allocations: 104 kB / 1.562 GB, free: 8.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.092/1.839, allocations: 67.4 MB / 1.628 GB, free: 3.309 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.839, allocations: 15.94 kB / 1.628 GB, free: 3.293 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04174/1.881, allocations: 21.56 MB / 1.649 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00337/1.884, allocations: 1.358 MB / 1.65 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.886, allocations: 112 kB / 1.65 GB, free: 11.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/1.889, allocations: 287.8 kB / 1.65 GB, free: 11.61 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002189/1.892, allocations: 0.5221 MB / 1.651 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007305/1.892, allocations: 147.5 kB / 1.651 GB, free: 10.94 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003297/1.896, allocations: 1.78 MB / 1.653 GB, free: 9.172 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.8e-07/1.896, allocations: 3.938 kB / 1.653 GB, free: 9.168 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00819/1.904, allocations: 2.465 MB / 1.655 GB, free: 6.703 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04327/1.947, allocations: 22.27 MB / 1.677 GB, free: 80 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0261/1.973, allocations: 14.49 MB / 1.691 GB, free: 1.383 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.973, allocations: 4 kB / 1.691 GB, free: 1.379 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/1.991, allocations: 9.344 MB / 1.7 GB, free: 7.887 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007305/1.998, allocations: 1.281 MB / 1.701 GB, free: 6.625 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5816/2.58, allocations: 82.76 MB / 1.782 GB, free: 398.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006981/2.587, allocations: 4.89 MB / 1.787 GB, free: 397.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002892/2.59, allocations: 0.7439 MB / 1.788 GB, free: 397.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/2.593, allocations: 2.612 MB / 1.79 GB, free: 394.9 MB / 1.279 GB Notification: Performance of SimCode: time 1.142e-06/2.593, allocations: 3.469 kB / 1.79 GB, free: 394.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2142/2.807, allocations: 191.8 MB / 1.978 GB, free: 223.6 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/2.807, allocations: 255.9 kB / 1.978 GB, free: 223.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.552/8.359, allocations: 4.062 kB / 1.978 GB, free: 223.3 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches