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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001255/0.001255, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001214, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.64/1.64, 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 11.0.1-master/package.mo): time 4.286/4.286, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 62.72 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3902, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0585/0.4488, allocations: 40.82 MB / 1.092 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04368/0.4925, allocations: 14.96 MB / 1.107 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007071/0.4996, allocations: 171.1 kB / 1.107 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01991/0.5196, allocations: 4.169 MB / 1.111 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01555/0.5352, allocations: 2.582 MB / 1.114 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.5489, allocations: 2.894 MB / 1.116 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01852/0.5674, allocations: 11.44 MB / 1.128 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02923/0.5968, allocations: 14.85 MB / 1.142 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.6075, allocations: 4.898 MB / 1.147 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.6217, allocations: 5.635 MB / 1.152 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.006067/0.6278, allocations: 0.9492 MB / 1.153 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00836/0.6362, allocations: 2.036 MB / 1.155 GB, free: 14.81 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006944/0.6432, allocations: 3.695 MB / 1.159 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01349/0.6567, allocations: 4.307 MB / 1.163 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02781/0.6846, allocations: 14.29 MB / 1.177 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.6847, allocations: 0 / 1.177 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6847, allocations: 0 / 1.177 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.000631/0.6853, allocations: 0 / 1.177 GB, free: 8.453 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.02351/0.7088, allocations: 7.596 MB / 1.185 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.7089, allocations: 12.62 kB / 1.185 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003252/0.7122, allocations: 0.8994 MB / 1.185 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.7249, allocations: 1.514 MB / 1.187 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.737, allocations: 4.213 MB / 1.191 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000527/0.7376, allocations: 452.5 kB / 1.191 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/0.7406, allocations: 0.5978 MB / 1.192 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/0.7711, allocations: 10.69 MB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/0.7715, allocations: 31.66 kB / 1.203 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.7728, allocations: 259.9 kB / 1.203 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002752/0.7755, allocations: 0.7729 MB / 1.204 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.7958, allocations: 8.565 MB / 1.212 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7592/1.555, allocations: 46.84 MB / 1.258 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/1.562, allocations: 4.313 MB / 1.262 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007091/1.569, allocations: 3.699 MB / 1.265 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/1.57, allocations: 37.62 kB / 1.265 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.57, allocations: 73.44 kB / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 8.025e-06/1.57, allocations: 0.9062 kB / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4663/2.036, allocations: 122.8 MB / 1.385 GB, free: 64.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/2.036, allocations: 111.9 kB / 1.386 GB, free: 64.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/2.04, allocations: 2.693 MB / 1.388 GB, free: 61.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/2.041, allocations: 117.7 kB / 1.388 GB, free: 61.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/2.042, allocations: 2.671 MB / 1.391 GB, free: 58.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/2.044, allocations: 1.953 MB / 1.393 GB, free: 56.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/2.045, allocations: 0.9248 MB / 1.394 GB, free: 55.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/2.045, allocations: 301.1 kB / 1.394 GB, free: 55.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004679/2.05, allocations: 4.079 MB / 1.398 GB, free: 51.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007484/2.057, allocations: 5.015 MB / 1.403 GB, free: 46.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/2.073, allocations: 9.857 MB / 1.413 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/2.073, allocations: 4 kB / 1.413 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05557/2.129, allocations: 17 MB / 1.429 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/2.129, allocations: 13.59 kB / 1.429 GB, free: 18.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-05/2.129, allocations: 31.19 kB / 1.429 GB, free: 18.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05376/2.183, allocations: 9.15 MB / 1.438 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/2.187, allocations: 0.5226 MB / 1.439 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2049/2.392, allocations: 77.01 MB / 1.514 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00923/2.401, allocations: 292.2 kB / 1.514 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/2.403, allocations: 188 kB / 1.514 GB, free: 9.887 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.009413/2.412, allocations: 2.417 MB / 1.517 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002996/2.415, allocations: 478.4 kB / 1.517 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07186/2.487, allocations: 16.82 MB / 1.534 GB, free: 6.016 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/2.487, allocations: 56 kB / 1.534 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003718/2.488, allocations: 75.94 kB / 1.534 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002039/2.488, allocations: 27.89 kB / 1.534 GB, free: 5.863 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1091/2.597, allocations: 25.66 MB / 1.559 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002112/2.597, allocations: 8 kB / 1.559 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004188/2.602, allocations: 316.3 kB / 1.559 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05741/2.659, allocations: 8.336 MB / 1.567 GB, free: 3.281 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001808/2.661, allocations: 104 kB / 1.567 GB, free: 3.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2005/2.862, allocations: 73.9 MB / 1.639 GB, free: 7.746 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.64e-05/2.862, allocations: 11.94 kB / 1.639 GB, free: 7.734 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08373/2.945, allocations: 21.57 MB / 1.661 GB, free: 1.809 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006791/2.952, allocations: 1.358 MB / 1.662 GB, free: 436 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003594/2.956, allocations: 108 kB / 1.662 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00809/2.964, allocations: 283.6 kB / 1.662 GB, free: 44 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004004/2.968, allocations: 0.526 MB / 1.663 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001404/2.97, allocations: 144 kB / 1.663 GB, free: 15.37 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00539/2.975, allocations: 1.78 MB / 1.665 GB, free: 13.6 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.41e-07/2.975, allocations: 0 / 1.665 GB, free: 13.6 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.01587/2.991, allocations: 2.465 MB / 1.667 GB, free: 11.14 MB / 1.232 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.08479/3.076, allocations: 22.27 MB / 1.689 GB, free: 4.508 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.07117/3.147, allocations: 18.67 MB / 1.707 GB, free: 1.66 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.087e-05/3.147, allocations: 4 kB / 1.707 GB, free: 1.656 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.03282/3.18, allocations: 9.364 MB / 1.716 GB, free: 8.145 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/3.192, allocations: 1.369 MB / 1.718 GB, free: 6.82 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8474/4.04, allocations: 82.75 MB / 1.798 GB, free: 392.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01561/4.055, allocations: 4.896 MB / 1.803 GB, free: 391.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006636/4.062, allocations: 0.7407 MB / 1.804 GB, free: 391.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006928/4.069, allocations: 2.613 MB / 1.806 GB, free: 389.1 MB / 1.279 GB Notification: Performance of SimCode: time 4.248e-06/4.069, allocations: 0 / 1.806 GB, free: 389.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.88/5.949, allocations: 197.6 MB / 1.999 GB, free: 205.2 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/5.95, allocations: 253.3 kB / 2 GB, free: 205 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/14.9, allocations: 3.375 kB / 2 GB, free: 205 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