Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 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.001175/0.001175, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5852/0.5865, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02161/0.6082, allocations: 22.59 MB / 0.9718 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.6185, allocations: 6.24 MB / 0.9779 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.6205, allocations: 96.09 kB / 0.978 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.6245, allocations: 1.539 MB / 0.9795 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.6286, allocations: 1.618 MB / 0.9811 GB, free: 180 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.6319, allocations: 1.345 MB / 0.9824 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006502/0.6384, allocations: 5.942 MB / 0.9882 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007209/0.6456, allocations: 6.105 MB / 0.9941 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.649, allocations: 2.399 MB / 0.9965 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.6529, allocations: 2.87 MB / 0.9993 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.654, allocations: 460 kB / 0.9997 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.6565, allocations: 1.096 MB / 1.001 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.6588, allocations: 2.027 MB / 1.003 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.6619, allocations: 2.163 MB / 1.005 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006917/0.6688, allocations: 7.253 MB / 1.012 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6689, allocations: 4 kB / 1.012 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6689, allocations: 0 / 1.012 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001699/0.669, allocations: 0 / 1.012 GB, free: 1.879 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007878/0.6769, allocations: 3.805 MB / 1.016 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.677, allocations: 12.03 kB / 1.016 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009116/0.6779, allocations: 0.5053 MB / 1.016 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.684, allocations: 1.214 MB / 1.017 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.6876, allocations: 2.215 MB / 1.02 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.6878, allocations: 242.4 kB / 1.02 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/0.6883, allocations: 315.9 kB / 1.02 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009017/0.6973, allocations: 6.216 MB / 1.026 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.659e-05/0.6974, allocations: 15.78 kB / 1.026 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.6978, allocations: 143.9 kB / 1.026 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004601/0.6982, allocations: 406.2 kB / 1.027 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007298/0.7056, allocations: 4.662 MB / 1.031 GB, free: 13.75 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.733, allocations: 29.14 MB / 1.06 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.7349, allocations: 1.414 MB / 1.061 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.7367, allocations: 1.48 MB / 1.063 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.7368, allocations: 13 kB / 1.063 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7368, allocations: 47.5 kB / 1.063 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.916e-06/0.7368, allocations: 7.938 kB / 1.063 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1482/0.885, allocations: 37.23 MB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.8851, allocations: 73.34 kB / 1.099 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.887, allocations: 1.415 MB / 1.1 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.8873, allocations: 57.69 kB / 1.1 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009555/0.8883, allocations: 1.542 MB / 1.102 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006815/0.889, allocations: 0.6123 MB / 1.103 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008281/0.8898, allocations: 379.4 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.8899, allocations: 301.1 kB / 1.103 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/0.8924, allocations: 1.784 MB / 1.105 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00281/0.8952, allocations: 2.346 MB / 1.107 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005512/0.9008, allocations: 4.391 MB / 1.112 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.9008, allocations: 8 kB / 1.112 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01775/0.9185, allocations: 8.559 MB / 1.12 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.9186, allocations: 19.98 kB / 1.12 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.9186, allocations: 16 kB / 1.12 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01502/0.9337, allocations: 4.668 MB / 1.124 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.9349, allocations: 299.5 kB / 1.125 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0469/0.9818, allocations: 32.62 MB / 1.157 GB, free: 9.051 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.9841, allocations: 147.8 kB / 1.157 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.9845, allocations: 83.98 kB / 1.157 GB, free: 8.824 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002198/0.9867, allocations: 1.332 MB / 1.158 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/0.9873, allocations: 197.7 kB / 1.158 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/1.006, allocations: 8.441 MB / 1.167 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.006, allocations: 16 kB / 1.167 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.98e-05/1.006, allocations: 27.94 kB / 1.167 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/1.006, allocations: 11.97 kB / 1.167 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0251/1.031, allocations: 12.84 MB / 1.179 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.031, allocations: 8 kB / 1.179 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/1.032, allocations: 167.7 kB / 1.179 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01493/1.047, allocations: 4.517 MB / 1.184 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002996/1.047, allocations: 39.94 kB / 1.184 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04668/1.094, allocations: 32.22 MB / 1.215 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/1.094, allocations: 11.94 kB / 1.215 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/1.111, allocations: 8.233 MB / 1.223 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.113, allocations: 0.6118 MB / 1.224 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005861/1.113, allocations: 43.92 kB / 1.224 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.115, allocations: 143.8 kB / 1.224 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008852/1.116, allocations: 172.8 kB / 1.224 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.116, allocations: 48 kB / 1.224 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001424/1.118, allocations: 0.9588 MB / 1.225 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/1.118, allocations: 0 / 1.225 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003465/1.121, allocations: 1.117 MB / 1.226 GB, free: 456 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01776/1.139, allocations: 8.836 MB / 1.235 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01445/1.154, allocations: 7.078 MB / 1.242 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/1.154, allocations: 0 / 1.242 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009921/1.164, allocations: 4.354 MB / 1.246 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.167, allocations: 0.519 MB / 1.247 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4737/1.641, allocations: 35.21 MB / 1.281 GB, free: 275 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/1.643, allocations: 2.727 MB / 1.284 GB, free: 273.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001196/1.645, allocations: 388 kB / 1.284 GB, free: 273.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.646, allocations: 1.215 MB / 1.285 GB, free: 272.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.623e-06/1.646, allocations: 4.312 kB / 1.285 GB, free: 272.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1881/1.834, allocations: 82.84 MB / 1.366 GB, free: 200.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/12.2, allocations: 8.328 kB / 1.366 GB, free: 200.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches