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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 197 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5919/0.5934, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03973/0.6331, allocations: 37.59 MB / 1.054 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.6557, allocations: 13.03 MB / 1.067 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.6591, allocations: 171.1 kB / 1.067 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009888/0.669, allocations: 3.881 MB / 1.071 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00706/0.6761, allocations: 2.491 MB / 1.073 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007146/0.6832, allocations: 2.711 MB / 1.076 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01253/0.6958, allocations: 9.568 MB / 1.085 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01519/0.711, allocations: 10.65 MB / 1.096 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006445/0.7175, allocations: 3.973 MB / 1.1 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007263/0.7248, allocations: 4.377 MB / 1.104 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.7268, allocations: 0.7695 MB / 1.105 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004738/0.7315, allocations: 1.787 MB / 1.106 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003965/0.7355, allocations: 3.037 MB / 1.109 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006052/0.7416, allocations: 3.579 MB / 1.113 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.754, allocations: 11.77 MB / 1.124 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.754, allocations: 4 kB / 1.124 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.463e-06/0.754, allocations: 0 / 1.124 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002753/0.7543, allocations: 0 / 1.124 GB, free: 4.664 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.01583/0.7701, allocations: 6.358 MB / 1.13 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7702, allocations: 12.02 kB / 1.13 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001425/0.7716, allocations: 0.7402 MB / 1.131 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00878/0.7804, allocations: 1.305 MB / 1.132 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00799/0.7884, allocations: 3.572 MB / 1.136 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.7888, allocations: 382.5 kB / 1.136 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.7902, allocations: 0.4963 MB / 1.137 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.8049, allocations: 8.882 MB / 1.145 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.805, allocations: 31.77 kB / 1.146 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.8056, allocations: 219.9 kB / 1.146 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.8079, allocations: 0.6343 MB / 1.146 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.8209, allocations: 7.018 MB / 1.153 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05129/0.8722, allocations: 40.33 MB / 1.193 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.8767, allocations: 2.89 MB / 1.195 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00385/0.8806, allocations: 2.663 MB / 1.198 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.8808, allocations: 26.09 kB / 1.198 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.8809, allocations: 80.53 kB / 1.198 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=265): time 4.649e-06/0.8809, allocations: 3.938 kB / 1.198 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=424): time 0.7707/1.652, allocations: 74.71 MB / 1.271 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/1.652, allocations: 96.92 kB / 1.271 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/1.655, allocations: 2.352 MB / 1.273 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006992/1.655, allocations: 97.64 kB / 1.274 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.657, allocations: 2.336 MB / 1.276 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.658, allocations: 1.434 MB / 1.277 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/1.659, allocations: 0.7247 MB / 1.278 GB, free: 199.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.165e-05/1.659, allocations: 301.1 kB / 1.278 GB, free: 199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/1.663, allocations: 3.001 MB / 1.281 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/1.667, allocations: 3.847 MB / 1.285 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008638/1.676, allocations: 7.385 MB / 1.292 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/1.676, allocations: 7.719 kB / 1.292 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02689/1.703, allocations: 12.56 MB / 1.304 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.703, allocations: 19.03 kB / 1.304 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/1.703, allocations: 22.31 kB / 1.304 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02141/1.724, allocations: 6.073 MB / 1.31 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/1.726, allocations: 495.2 kB / 1.311 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06803/1.794, allocations: 73.04 MB / 1.382 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/1.798, allocations: 215.8 kB / 1.382 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005377/1.799, allocations: 165.7 kB / 1.383 GB, free: 101.8 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.002947/1.802, allocations: 1.983 MB / 1.384 GB, free: 99.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009184/1.803, allocations: 395.3 kB / 1.385 GB, free: 99.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02507/1.828, allocations: 12.23 MB / 1.397 GB, free: 87.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.828, allocations: 40 kB / 1.397 GB, free: 87.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/1.828, allocations: 48 kB / 1.397 GB, free: 86.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/1.828, allocations: 19.92 kB / 1.397 GB, free: 86.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03359/1.862, allocations: 19.14 MB / 1.416 GB, free: 67.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/1.862, allocations: 8.938 kB / 1.416 GB, free: 67.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.863, allocations: 291.5 kB / 1.416 GB, free: 67.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01912/1.882, allocations: 5.628 MB / 1.421 GB, free: 61.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006074/1.883, allocations: 80 kB / 1.421 GB, free: 61.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06687/1.95, allocations: 70.65 MB / 1.49 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.95, allocations: 11.94 kB / 1.49 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03203/1.982, allocations: 15.62 MB / 1.506 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.984, allocations: 1.039 MB / 1.507 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006569/1.985, allocations: 87.98 kB / 1.507 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.988, allocations: 211.7 kB / 1.507 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/1.989, allocations: 406.2 kB / 1.507 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/1.989, allocations: 108 kB / 1.507 GB, free: 1.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002103/1.991, allocations: 1.56 MB / 1.509 GB, free: 320 kB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.991, allocations: 0 / 1.509 GB, free: 320 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.005421/1.997, allocations: 1.856 MB / 1.511 GB, free: 14.45 MB / 1.045 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.03105/2.028, allocations: 16.29 MB / 1.527 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02775/2.056, allocations: 14.98 MB / 1.541 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/2.056, allocations: 8.062 kB / 1.541 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.01641/2.072, allocations: 8.354 MB / 1.55 GB, free: 5.996 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/2.078, allocations: 1.192 MB / 1.551 GB, free: 4.836 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1123/2.19, allocations: 60.31 MB / 1.61 GB, free: 4.398 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005246/2.196, allocations: 4.094 MB / 1.614 GB, free: 276 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002491/2.198, allocations: 0.6669 MB / 1.614 GB, free: 15.6 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002553/2.201, allocations: 2.128 MB / 1.616 GB, free: 13.47 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/2.201, allocations: 0 / 1.616 GB, free: 13.47 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6993/2.9, allocations: 151.5 MB / 1.764 GB, free: 400.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/15.49, allocations: 9.906 kB / 1.764 GB, free: 400.7 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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