Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 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_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.006227/0.006227, allocations: 99.67 kB / 15.73 MB, free: 6.059 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.00129/0.00129, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.372/2.372, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 66.36 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2679, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01223/0.2802, allocations: 10.02 MB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.2854, allocations: 3.049 MB / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.2861, allocations: 35.81 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.2881, allocations: 0.6859 MB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.2898, allocations: 0.7274 MB / 1.102 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2912, allocations: 0.6337 MB / 1.102 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.2939, allocations: 2.734 MB / 1.105 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.297, allocations: 2.523 MB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.2988, allocations: 1.141 MB / 1.109 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.3008, allocations: 1.387 MB / 1.11 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005227/0.3013, allocations: 216 kB / 1.11 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.3025, allocations: 499.4 kB / 1.111 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009359/0.3035, allocations: 0.9785 MB / 1.112 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.3045, allocations: 1.011 MB / 1.113 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002971/0.3075, allocations: 3.415 MB / 1.116 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3075, allocations: 0 / 1.116 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3075, allocations: 0 / 1.116 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.082e-05/0.3076, allocations: 0 / 1.116 GB, free: 4.848 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003319/0.3109, allocations: 1.988 MB / 1.118 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3109, allocations: 12.03 kB / 1.118 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003055/0.3112, allocations: 252.7 kB / 1.118 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005958/0.3172, allocations: 0.8969 MB / 1.119 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.3196, allocations: 1.173 MB / 1.12 GB, free: 428 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-05/0.3197, allocations: 111.3 kB / 1.12 GB, free: 316 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.32, allocations: 144.3 kB / 1.12 GB, free: 172 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004935/0.3249, allocations: 3.021 MB / 1.123 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.325, allocations: 7.984 kB / 1.123 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.3252, allocations: 63.97 kB / 1.123 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.3254, allocations: 174.9 kB / 1.123 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.3295, allocations: 2.608 MB / 1.126 GB, free: 10.19 MB / 0.8887 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.01658/0.3461, allocations: 13.5 MB / 1.139 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.3481, allocations: 1.295 MB / 1.14 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.3495, allocations: 1.047 MB / 1.142 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.02e-05/0.3496, allocations: 8.656 kB / 1.142 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3496, allocations: 51.16 kB / 1.142 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/0.3497, allocations: 0 / 1.142 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=139): time 0.07574/0.4254, allocations: 19.42 MB / 1.161 GB, free: 5.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.4255, allocations: 68.72 kB / 1.161 GB, free: 5.523 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.4269, allocations: 0.9223 MB / 1.161 GB, free: 4.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/0.4272, allocations: 45.7 kB / 1.162 GB, free: 4.539 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.4276, allocations: 0.754 MB / 1.162 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.4282, allocations: 0.4996 MB / 1.163 GB, free: 3.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000721/0.4289, allocations: 295.5 kB / 1.163 GB, free: 2.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4291, allocations: 353.9 kB / 1.163 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.4311, allocations: 1.335 MB / 1.165 GB, free: 1.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.4334, allocations: 1.655 MB / 1.166 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.4377, allocations: 3.084 MB / 1.169 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4377, allocations: 4 kB / 1.169 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0124/0.4501, allocations: 5.645 MB / 1.175 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.4502, allocations: 13.66 kB / 1.175 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4502, allocations: 12 kB / 1.175 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009185/0.4594, allocations: 2.706 MB / 1.177 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/0.4603, allocations: 195.6 kB / 1.178 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03771/0.4981, allocations: 25.74 MB / 1.203 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4996, allocations: 91.95 kB / 1.203 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.4999, allocations: 60 kB / 1.203 GB, free: 9.254 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.5011, allocations: 0.7315 MB / 1.204 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5014, allocations: 119.2 kB / 1.204 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.5134, allocations: 5.396 MB / 1.209 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.5135, allocations: 12 kB / 1.209 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-05/0.5135, allocations: 20 kB / 1.209 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.5136, allocations: 11.91 kB / 1.209 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.5317, allocations: 8.689 MB / 1.218 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.5317, allocations: 4 kB / 1.218 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.5323, allocations: 124.2 kB / 1.218 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008847/0.5411, allocations: 2.588 MB / 1.22 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.5413, allocations: 28 kB / 1.22 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03452/0.5759, allocations: 24.19 MB / 1.244 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.5759, allocations: 4 kB / 1.244 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.5872, allocations: 5.261 MB / 1.249 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.5884, allocations: 496.2 kB / 1.25 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.5887, allocations: 24 kB / 1.25 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5897, allocations: 75.89 kB / 1.25 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/0.5902, allocations: 129 kB / 1.25 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.5904, allocations: 36.38 kB / 1.25 GB, free: 8.496 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008842/0.5912, allocations: 0.6434 MB / 1.25 GB, free: 7.855 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5913, allocations: 0 / 1.25 GB, free: 7.855 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002372/0.5936, allocations: 0.7227 MB / 1.251 GB, free: 7.133 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/0.605, allocations: 5.832 MB / 1.257 GB, free: 1.207 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.4691/1.074, allocations: 4.22 MB / 1.261 GB, free: 162.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.074, allocations: 0.7188 kB / 1.261 GB, free: 162.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005481/1.08, allocations: 2.714 MB / 1.264 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/1.081, allocations: 214.7 kB / 1.264 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/1.119, allocations: 21.46 MB / 1.285 GB, free: 154.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/1.121, allocations: 1.701 MB / 1.286 GB, free: 153.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008365/1.122, allocations: 331.7 kB / 1.287 GB, free: 153.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.123, allocations: 0.5313 MB / 1.287 GB, free: 153.1 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/1.123, allocations: 3.938 kB / 1.287 GB, free: 153.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07751/1.2, allocations: 52.7 MB / 1.339 GB, free: 115.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.68, allocations: 14.86 kB / 1.339 GB, free: 115.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches