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.0008743/0.0008744, allocations: 98.03 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.005016/0.005016, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.258 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.448/2.448, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 16 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5622, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03371/0.5959, allocations: 36.38 MB / 1.059 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.6145, allocations: 12.9 MB / 1.071 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.6172, allocations: 147.1 kB / 1.071 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.619, allocations: 0.7598 MB / 1.072 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.6243, allocations: 2.349 MB / 1.074 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.6291, allocations: 2.3 MB / 1.077 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.6425, allocations: 13.35 MB / 1.09 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01779/0.6604, allocations: 13.21 MB / 1.103 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005076/0.6655, allocations: 2.944 MB / 1.106 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00588/0.6714, allocations: 3.865 MB / 1.109 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.6726, allocations: 320 kB / 1.11 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.6763, allocations: 1.634 MB / 1.111 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.6791, allocations: 2.466 MB / 1.114 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003593/0.6827, allocations: 2.944 MB / 1.116 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.6938, allocations: 11.29 MB / 1.128 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6939, allocations: 4 kB / 1.128 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6939, allocations: 0 / 1.128 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000311/0.6942, allocations: 0 / 1.128 GB, free: 4.586 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.01195/0.7062, allocations: 5.146 MB / 1.133 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.7062, allocations: 8.031 kB / 1.133 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/0.7079, allocations: 0.748 MB / 1.133 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008255/0.7162, allocations: 1.305 MB / 1.135 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00692/0.7231, allocations: 3.564 MB / 1.138 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.7235, allocations: 386.4 kB / 1.138 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.7251, allocations: 0.4963 MB / 1.139 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.7417, allocations: 8.886 MB / 1.148 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.7419, allocations: 35.62 kB / 1.148 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005642/0.7425, allocations: 223.9 kB / 1.148 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/0.7446, allocations: 0.6265 MB / 1.148 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.7562, allocations: 7.01 MB / 1.155 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/0.8023, allocations: 40.43 MB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.8065, allocations: 2.898 MB / 1.198 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/0.8101, allocations: 2.663 MB / 1.2 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.8104, allocations: 26.09 kB / 1.2 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.8104, allocations: 76.53 kB / 1.2 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=265): time 5.36e-06/0.8104, allocations: 0 / 1.2 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=424): time 0.7918/1.602, allocations: 77.48 MB / 1.276 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/1.602, allocations: 99.77 kB / 1.276 GB, free: 202 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/1.606, allocations: 2.359 MB / 1.278 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004719/1.606, allocations: 93.55 kB / 1.278 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.608, allocations: 2.337 MB / 1.281 GB, free: 199.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.609, allocations: 1.435 MB / 1.282 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/1.609, allocations: 341.8 kB / 1.282 GB, free: 198 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.813e-05/1.609, allocations: 308.9 kB / 1.283 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/1.613, allocations: 3.001 MB / 1.286 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/1.617, allocations: 3.843 MB / 1.289 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008919/1.626, allocations: 7.388 MB / 1.297 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/1.626, allocations: 3.812 kB / 1.297 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02742/1.654, allocations: 12.56 MB / 1.309 GB, free: 182 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/1.654, allocations: 15.94 kB / 1.309 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/1.654, allocations: 24 kB / 1.309 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02099/1.675, allocations: 6.028 MB / 1.315 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.677, allocations: 500 kB / 1.315 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0644/1.742, allocations: 67.29 MB / 1.381 GB, free: 105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/1.746, allocations: 215.8 kB / 1.381 GB, free: 104.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008314/1.747, allocations: 153.7 kB / 1.381 GB, free: 104.6 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.004114/1.751, allocations: 1.992 MB / 1.383 GB, free: 102.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.752, allocations: 395.3 kB / 1.384 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02745/1.78, allocations: 12.23 MB / 1.396 GB, free: 89.87 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/1.78, allocations: 44 kB / 1.396 GB, free: 89.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001295/1.78, allocations: 48 kB / 1.396 GB, free: 89.78 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.78, allocations: 23.92 kB / 1.396 GB, free: 89.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03765/1.818, allocations: 19.16 MB / 1.414 GB, free: 70.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.818, allocations: 8 kB / 1.414 GB, free: 70.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.819, allocations: 292.4 kB / 1.415 GB, free: 70.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01876/1.838, allocations: 5.579 MB / 1.42 GB, free: 64.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005038/1.838, allocations: 87.94 kB / 1.42 GB, free: 64.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06173/1.9, allocations: 64.91 MB / 1.484 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.9, allocations: 11.94 kB / 1.484 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/1.932, allocations: 15.61 MB / 1.499 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.934, allocations: 1.055 MB / 1.5 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008984/1.935, allocations: 80 kB / 1.5 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.938, allocations: 215.7 kB / 1.5 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/1.939, allocations: 402.2 kB / 1.501 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003139/1.94, allocations: 108.1 kB / 1.501 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002621/1.942, allocations: 1.556 MB / 1.502 GB, free: 9.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.942, allocations: 4 kB / 1.502 GB, free: 9.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006162/1.948, allocations: 1.859 MB / 1.504 GB, free: 7.176 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.03158/1.98, allocations: 16.3 MB / 1.52 GB, free: 6.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02113/2.001, allocations: 12.19 MB / 1.532 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/2.001, allocations: 4 kB / 1.532 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.01487/2.016, allocations: 8.387 MB / 1.54 GB, free: 1.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008365/2.025, allocations: 1.111 MB / 1.541 GB, free: 356 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1161/2.141, allocations: 62.74 MB / 1.602 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006476/2.147, allocations: 4.086 MB / 1.606 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00278/2.15, allocations: 0.6669 MB / 1.607 GB, free: 8.66 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/2.153, allocations: 2.132 MB / 1.609 GB, free: 6.527 MB / 1.139 GB Notification: Performance of SimCode: time 8.62e-07/2.153, allocations: 4 kB / 1.609 GB, free: 6.523 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6806/2.833, allocations: 144.4 MB / 1.75 GB, free: 403.6 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/2.834, allocations: 255.2 kB / 1.75 GB, free: 403.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.876/7.71, allocations: 0 / 1.75 GB, free: 403.3 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