Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.00128/0.00128, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001387/0.001387, allocations: 193.7 kB / 16.13 MB, free: 6.57 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.429/2.429, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5674, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03629/0.6038, allocations: 37.24 MB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.6242, allocations: 13.02 MB / 1.066 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.628, allocations: 155.1 kB / 1.066 GB, free: 252 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008835/0.6369, allocations: 3.615 MB / 1.069 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/0.643, allocations: 2.352 MB / 1.072 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.649, allocations: 2.468 MB / 1.074 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01233/0.6614, allocations: 13.36 MB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01727/0.6787, allocations: 11.7 MB / 1.099 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00563/0.6843, allocations: 3.401 MB / 1.102 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/0.6906, allocations: 4.451 MB / 1.106 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001689/0.6923, allocations: 0.4922 MB / 1.107 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.6965, allocations: 1.813 MB / 1.109 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.7002, allocations: 2.759 MB / 1.111 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005936/0.7062, allocations: 3.274 MB / 1.114 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.7185, allocations: 11.65 MB / 1.126 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7186, allocations: 4 kB / 1.126 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7186, allocations: 0 / 1.126 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003416/0.7189, allocations: 0 / 1.126 GB, free: 2.645 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01713/0.7361, allocations: 6.35 MB / 1.132 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.7361, allocations: 12.03 kB / 1.132 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001594/0.7377, allocations: 0.7519 MB / 1.133 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008107/0.7458, allocations: 1.293 MB / 1.134 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006237/0.7521, allocations: 3.564 MB / 1.138 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.7524, allocations: 386.5 kB / 1.138 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009994/0.7534, allocations: 0.5002 MB / 1.138 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.7677, allocations: 8.886 MB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.7679, allocations: 31.62 kB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005514/0.7685, allocations: 223.9 kB / 1.147 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.7705, allocations: 0.6304 MB / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.7834, allocations: 7.014 MB / 1.155 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0444/0.8278, allocations: 40.33 MB / 1.194 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/0.8318, allocations: 2.899 MB / 1.197 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.8351, allocations: 2.663 MB / 1.2 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.8353, allocations: 26.09 kB / 1.2 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.8354, allocations: 68.59 kB / 1.2 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=265): time 4.128e-06/0.8354, allocations: 0 / 1.2 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=424): time 0.7406/1.576, allocations: 74.66 MB / 1.273 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.576, allocations: 97.8 kB / 1.273 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/1.579, allocations: 2.354 MB / 1.275 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006586/1.58, allocations: 97.58 kB / 1.275 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.581, allocations: 2.334 MB / 1.277 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.582, allocations: 1.437 MB / 1.279 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/1.583, allocations: 0.7252 MB / 1.279 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.33e-05/1.583, allocations: 301.1 kB / 1.28 GB, free: 200 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/1.587, allocations: 2.997 MB / 1.283 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/1.59, allocations: 3.847 MB / 1.286 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00773/1.598, allocations: 7.381 MB / 1.294 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.598, allocations: 7.625 kB / 1.294 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02365/1.622, allocations: 12.56 MB / 1.306 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.622, allocations: 19.94 kB / 1.306 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.622, allocations: 30.66 kB / 1.306 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02014/1.642, allocations: 6.03 MB / 1.312 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.644, allocations: 491.2 kB / 1.312 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06179/1.706, allocations: 67.18 MB / 1.378 GB, free: 106.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/1.71, allocations: 215.8 kB / 1.378 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005643/1.71, allocations: 152 kB / 1.378 GB, free: 106.3 MB / 0.9981 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003098/1.713, allocations: 1.988 MB / 1.38 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/1.714, allocations: 395.3 kB / 1.381 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0242/1.738, allocations: 12.24 MB / 1.393 GB, free: 91.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/1.739, allocations: 40 kB / 1.393 GB, free: 91.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/1.739, allocations: 48.14 kB / 1.393 GB, free: 91.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/1.739, allocations: 27.91 kB / 1.393 GB, free: 91.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03282/1.772, allocations: 19.14 MB / 1.411 GB, free: 72.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/1.772, allocations: 10.44 kB / 1.411 GB, free: 72.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.773, allocations: 291.5 kB / 1.412 GB, free: 71.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01941/1.792, allocations: 5.575 MB / 1.417 GB, free: 66.15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005686/1.793, allocations: 80 kB / 1.417 GB, free: 66.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06097/1.854, allocations: 64.78 MB / 1.48 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.854, allocations: 12.06 kB / 1.48 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03005/1.884, allocations: 15.62 MB / 1.496 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.886, allocations: 1.047 MB / 1.497 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/1.887, allocations: 79.98 kB / 1.497 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.889, allocations: 215.7 kB / 1.497 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001292/1.89, allocations: 410.2 kB / 1.497 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.891, allocations: 104 kB / 1.498 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001933/1.892, allocations: 1.556 MB / 1.499 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.892, allocations: 0 / 1.499 GB, free: 10.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005022/1.898, allocations: 1.863 MB / 1.501 GB, free: 9.008 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0278/1.925, allocations: 16.29 MB / 1.517 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02145/1.947, allocations: 12.18 MB / 1.529 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.947, allocations: 0 / 1.529 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/1.962, allocations: 8.354 MB / 1.537 GB, free: 3.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/1.967, allocations: 1.108 MB / 1.538 GB, free: 2.242 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/2.078, allocations: 62.69 MB / 1.599 GB, free: 15.42 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004718/2.083, allocations: 4.093 MB / 1.603 GB, free: 11.29 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002841/2.086, allocations: 0.6708 MB / 1.604 GB, free: 10.61 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002613/2.088, allocations: 2.124 MB / 1.606 GB, free: 8.488 MB / 1.139 GB Notification: Performance of SimCode: time 8.11e-07/2.088, allocations: 4 kB / 1.606 GB, free: 8.484 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/3.298, allocations: 147.6 MB / 1.75 GB, free: 403.4 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/3.298, allocations: 255.6 kB / 1.75 GB, free: 403.1 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.014/8.312, allocations: 2.031 kB / 1.75 GB, free: 403.1 MB / 1.232 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches